Constructors
constructor
- new Point(_x?: number, _y?: number): Point
-
Parameters
-
Default value _x: number = 0
-
Default value _y: number = 0
Methods
add
-
Parameters
-
coordX: number
-
coordY: number
Current Point
-
Parameters
Current Point
set
- set(newX: number, newY: number): Point
-
Parameters
-
newX: number
-
newY: number
Current Point
sub
-
Parameters
-
coordX: number
-
coordY: number
Current Point
-
Parameters
Current Point
Represents a 2D Point