Method: translateToTile

Translates the object to the tile co-ordinates passed.
translateToTile (Number x, Number y, Number z)
  • Numberx The x tile co-ordinate.
  • Numbery The y tile co-ordinate.
  • Numberz The z tile co-ordinate.
Returns * The object this method was called from to allow method chaining.

Translate entity to tile

// Create a tile map
var tileMap = new IgeTileMap2d()

// Mount our entity to the tile map

// Translate the entity to the tile x:10, y:12
entity.translateToTile(10, 12, 0);
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point