A helper class for the frame records, part of the replay/demo/recording system.

Constructor

new(x:Int, y:Int, button:FlxInputState, wheel:Int)

Instantiate a new mouse input record.

Parameters:

X

The main X value of the mouse in screen space.

Y

The main Y value of the mouse in screen space.

Button

The state of the left mouse button.

Wheel

The state of the mouse wheel.

Variables

read onlybutton:FlxInputState

The state of the left mouse button.

read onlywheel:Int

The state of the mouse wheel.

read onlyx:Int

read onlyy:Int