Closed screwt closed 11 years ago
The map ("TiledMap") is passed to the stage. Then the function AotStage.extractTower() reads the layer "towers" (found in the *tmx) ans calculate coordonates. Finally it adds the tower actor where it should be.
Ref: https://github.com/xclam/ageoftower/blob/tiledmap_loader_tower/age-of-tower/src/com/nsx/ageoftower/utils/AotStage.java
The map ("TiledMap") is passed to the stage. Then the function AotStage.extractTower() reads the layer "towers" (found in the *tmx) ans calculate coordonates. Finally it adds the tower actor where it should be.
Ref: https://github.com/xclam/ageoftower/blob/tiledmap_loader_tower/age-of-tower/src/com/nsx/ageoftower/utils/AotStage.java