Package | com.whirled.game |
Class | public class SizeChangedEvent |
Inheritance | SizeChangedEvent ![]() |
Property | Defined by | ||
---|---|---|---|
size : Point [read-only]
Get the size of the game area, expressed as a Point
(The width is the x value, the height is the y value).
| SizeChangedEvent |
Method | Defined by | ||
---|---|---|---|
SizeChangedEvent(size:Point)
Constructor.
| SizeChangedEvent | ||
clone():Event
| SizeChangedEvent | ||
toString():String
| SizeChangedEvent |
Constant | Defined by | ||
---|---|---|---|
SIZE_CHANGED : String = "SizeChanged" [static]
The type of this event.
| SizeChangedEvent |
size | property |
size:Point
[read-only]Get the size of the game area, expressed as a Point (The width is the x value, the height is the y value).
Implementation public function get size():Point
SizeChangedEvent | () | constructor |
public function SizeChangedEvent(size:Point)
Constructor.
Parameterssize:Point |
clone | () | method |
public override function clone():Event
Returns
Event |
toString | () | method |
public override function toString():String
Returns
String |
SIZE_CHANGED | constant |
public static const SIZE_CHANGED:String = "SizeChanged"
The type of this event.