Method | Description | |
---|---|---|
FlxPoint ( float x, float y ) : System |
Instantiate a new point object.
|
|
ToVector2 ( ) : Vector2 |
Create a
|
|
copyFrom ( |
Helper function, just copies the values from the specified point.
|
|
copyFromFlash ( object flashPoint ) : |
Helper function, just copies the values from the specified Flash point.
|
|
copyTo ( |
Helper function, just copies the values to the specified point.
|
|
copyToflash ( object flashPoint ) : object |
Helper function, just copies the values from this point to the specified Flash point.
|
|
make ( float x, float y ) : |
Instantiate a new point object. The naming is very confusing... This method does not make or create a point (like the NEW keyword). Instead it only set's the X and Y value of the current instance and returnes this. So this is NOT a factory method.
|
public FlxPoint ( float x, float y ) : System | ||
x | float | The X-coordinate of the point in space. |
y | float | The Y-coordinate of the point in space. |
return | System |
public copyFrom ( |
||
point | Any FlxPoint . |
|
return |
public copyFromFlash ( object flashPoint ) : |
||
flashPoint | object | Point Any Point . |
return |
public copyTo ( |
||
point | Any FlxPoint . |
|
return |
public copyToflash ( object flashPoint ) : object | ||
flashPoint | object | Any Point . |
return | object |
public make ( float x, float y ) : |
||
x | float | The X-coordinate of the point in space. |
y | float | The Y-coordinate of the point in space. |
return |