MousePressedEvent constructor
MousePressedEvent({
- required MouseButton button,
- required Vector3 mousePos,
Implementation
MousePressedEvent({required this.button, required Vector3 mousePos})
: super(
type: EventType.mousePressedEvent,
name: 'MousePressedEvent',
mousePos: mousePos);