allow start hashes in tiles
# Conflicts: # front/src/Phaser/Game/GameScene.ts
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user