Class: Position

Position aspect of an entity. Acts as the “glue” between different systems that handle entity positions.

Implements

Constructors

constructor

new Position(«destructured»): Position

Parameters

Name Type
«destructured» Partial<IPosition>

Returns

Position

Properties

rotation

rotation: number

Implementation of

IPosition.rotation


x

x: number

Implementation of

IPosition.x


y

y: number

Implementation of

IPosition.y