SpriteBoxEvent constructor

SpriteBoxEvent(Offset boxPosition, Type type, int pointer)

Creates a new SpriteBoxEvent, typically this is done internally inside the SpriteBox.

var event = new SpriteBoxEvent(new Point(50.0, 50.0), 'pointerdown', 0);

Implementation

SpriteBoxEvent(this.boxPosition, this.type, this.pointer);