allow start hashes in tiles

# Conflicts:
#	front/src/Phaser/Game/GameScene.ts
This commit is contained in:
jonny 2021-06-23 12:32:36 +02:00
parent 633fa9f870
commit b20b4abb9e
2 changed files with 21 additions and 7 deletions

View file

@ -35,6 +35,13 @@ export class GameMap {
}
public getPropertiesForIndex(index: number): Array<ITiledMapLayerProperty> {
if (this.tileSetPropertyMap[index]) {
return this.tileSetPropertyMap[index]
}
return []
}
/**
* Sets the position of the current player (in pixels)