Skip to content

Instantly share code, notes, and snippets.

@kewp
Created April 10, 2015 09:13
Show Gist options
  • Save kewp/db1ad94294d4c9c4dbd0 to your computer and use it in GitHub Desktop.
Save kewp/db1ad94294d4c9c4dbd0 to your computer and use it in GitHub Desktop.
public function new(X:Float = 0, Y:Float = 0, ?SimpleGraphic:Dynamic)
{
super(X, Y);
if (SimpleGraphic != null)
{
loadGraphic(SimpleGraphic);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment