hexonaut / haxe-phaser

Haxe externs for Phaser.
MIT License
51 stars 9 forks source link

phaser.gameobjects.Events has no field onInputDown #8

Closed plicatibu closed 10 years ago

plicatibu commented 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