SpriteBoxEvent constructor
SpriteBoxEvent(
- Offset boxPosition,
- PointerEventType 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);