Created
April 10, 2015 09:13
-
-
Save kewp/db1ad94294d4c9c4dbd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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