Adding collision prop to Tilemap

This commit is contained in:
Michael Hadley 2017-11-24 08:23:40 -06:00
parent 0e73bae5bc
commit d3aa842bfe

View file

@ -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
},