Closed mathieuanthoine closed 9 years ago
Why are you removing things such as Sprite.alive and Sprite.cropRect?
Fix made on the Sprite class, it was a wrong manipulation Fix add on Point Class
Thanks.
This is not working here. In the constructor of the class Sprite the package of the class Game was removed, but it need to work.
The correct is: function new (game:phaser.core.Game, ?x:Float=0, ?y:Float=0, ?key:Dynamic, ?frame:Float);
Fixed. Thanks for pointing this out.
update Sprite constructor with optionnal parameters