Package | org.flixel |
Class | public class FlxPoint |
Inheritance | FlxPoint Object |
Subclasses | FlxRect |
Method | Defined By | ||
---|---|---|---|
FlxPoint(X:Number = 0, Y:Number = 0)
Instantiate a new point object. | FlxPoint | ||
toString():String
Convert object to readable string name. | FlxPoint |
x | property |
public var x:Number
The default value is 0
.
y | property |
public var y:Number
The default value is 0
.
FlxPoint | () | Constructor |
public function FlxPoint(X:Number = 0, Y:Number = 0)
Instantiate a new point object.
ParametersX:Number (default = 0 ) — The X-coordinate of the point in space.
| |
Y:Number (default = 0 ) — The Y-coordinate of the point in space.
|
toString | () | method |
public function toString():String
Convert object to readable string name. Useful for debugging, save games, etc.
ReturnsString |