Constructor
new TiledScene(options)
    Create a new TiledScene with the specified options.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| options | object | The options for the TiledScene, composed of the properties. | 
Properties:
| Name | Type | Description | 
|---|---|---|
| tileWidth | integer | The width of each tile in the asset | 
| tileHeight | integer | The height of each tile in the asset | 
| perspectiveMode | integer | The perspective mode of this TiledScene | 
- Source:
Example
Create a new TiledScene with 16x16 tiles from an Asset
var mainMapTilesAsset = new Asset({ name: 'mainMapTilesAsset', src: 'assets/mainmap_tileset.png' })
var scene = new TiledScene({ asset: mainMapTilesAsset, tileWidth: 16, tileHeight: 16, x: 0, y: 0 })Extends
Methods
draw(context)
    Draw the TiledScene into the given context.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| context | CanvasRenderingContext2D | The context in which to draw | 
- Overrides:
- Source:
redraw()
    Mark this scene to be redran.
- Overrides:
- Source: