Class: TileRenderer

TileRenderer

draw a tile (it's a part of an image)
checkout Renderer for standard parameters

new TileRenderer()

Source:
Example
 var haldShip = new DE.GameObject( {
  x: 500, y: 500,
  renderer: new DE.TileRenderer( {
    "imageName": "ship",
    "tilesizes": { "width": "100", "height": 200 },
    "tileposition": { "x": "100", "y": 0 }
  } )
} );

Extends

Dreamirl Copyright © 2014 And the contributors
Documentation generated by JSDoc 3.2.2 on Thu Apr 24 2014 11:56:41 GMT+0200 (CEST) using the DocStrap template.