mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Adding collision prop to Tilemap
This commit is contained in:
parent
0e73bae5bc
commit
d3aa842bfe
1 changed files with 2 additions and 1 deletions
|
@ -29,13 +29,14 @@ var Tilemap = new Class({
|
|||
this.widthInPixels = mapData.widthInPixels;
|
||||
this.heightInPixels = mapData.heightInPixels;
|
||||
this.imageCollections = mapData.imageCollections;
|
||||
this.collision = mapData.collision;
|
||||
this.layers = mapData.layers;
|
||||
this.tilesets = mapData.tilesets;
|
||||
this.tiles = mapData.tiles;
|
||||
this.objects = mapData.objects;
|
||||
this.currentLayerIndex = 0;
|
||||
|
||||
// TODO: collision, collideIndexes, imagecollections, images
|
||||
// TODO: images
|
||||
// TODO: debugging methods
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue