TileData

TileData

Used by the BlitMath Class in some methods.


Constructor

new TileData(p, value)

Parameters:
Name Type Description
p MoverPoint
value Object

Members

constructor

position :MoverPoint

Type:

value :Object

Type:
  • Object

Methods

(static) make(x, y, value) → {TileData}

Constructs a new TileData with the values given.

Parameters:
Name Type Description
x Number
y Number
value Object

The value the tile holds

Returns:
Type
TileData

clone() → {TileData}

Clones this TileData instance.

Returns:
Type
TileData