allow start hashes in tiles
# Conflicts: # front/src/Phaser/Game/GameScene.ts
This commit is contained in:
parent
633fa9f870
commit
b20b4abb9e
2 changed files with 21 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue