Position class
A representation of a position in the game.
Signature:
export declare class Position Constructor
new Position (data: PositionData)Constructs a new instance of the Position class.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| data | PositionData | 
Properties
x
The x coordinate of the position.
Type: Number
y
The y coordinate of the position.
Type: Number
Table of Contents
