Closed plicatibu closed 10 years ago
The Events.hx (full code): package phaser.gameobjects;
@:native("Phaser.Events") extern class Events { function new (sprite:phaser.gameobjects.Sprite); }
The Event.js (partial source code):
Phaser.Events = function (sprite) { this.parent = sprite; this.onAddedToGroup = new Phaser.Signal(); this.onRemovedFromGroup = new Phaser.Signal(); this.onKilled = new Phaser.Signal(); this.onRevived = new Phaser.Signal(); this.onOutOfBounds = new Phaser.Signal(); this.onEnterBounds = new Phaser.Signal(); this.onInputOver = null; this.onInputOut = null; this.onInputDown = null; this.onInputUp = null; this.onDragStart = null; this.onDragStop = null; this.onAnimationStart = null; this.onAnimationComplete = null; this.onAnimationLoop = null; };
Regards
The Events.hx (full code): package phaser.gameobjects;
The Event.js (partial source code):
Regards