Packageorg.flixel.system.replay
Classpublic class MouseRecord
InheritanceMouseRecord Inheritance Object

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



Public Properties
 PropertyDefined By
  button : int
The state of the left mouse button.
MouseRecord
  wheel : int
The state of the mouse wheel.
MouseRecord
  x : int
The main X value of the mouse in screen space.
MouseRecord
  y : int
The main Y value of the mouse in screen space.
MouseRecord
Public Methods
 MethodDefined By
  
MouseRecord(X:int, Y:int, Button:int, Wheel:int)
Instantiate a new mouse input record.
MouseRecord
Property Detail
buttonproperty
public var button:int

The state of the left mouse button.

wheelproperty 
public var wheel:int

The state of the mouse wheel.

xproperty 
public var x:int

The main X value of the mouse in screen space.

yproperty 
public var y:int

The main Y value of the mouse in screen space.

Constructor Detail
MouseRecord()Constructor
public function MouseRecord(X:int, Y:int, Button:int, Wheel:int)

Instantiate a new mouse input record.

Parameters
X:int — The main X value of the mouse in screen space.
 
Y:int — The main Y value of the mouse in screen space.
 
Button:int — The state of the left mouse button.
 
Wheel:int — The state of the mouse wheel.