-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added enum of turrets for turret selection screen
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
source/core/src/main/com/csse3200/game/screens/TowerType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.csse3200.game.screens; | ||
|
||
public enum TowerType { | ||
WEAPON("images/towers/turret01.atlas", "Weapon Tower"), | ||
TNT("images/towers/TNTTower.atlas", "TNT Tower"), | ||
DROID("images/towers/DroidTower.atlas", "Droid Tower"), | ||
WALL("images/towers/wallTower.png", "Wall Tower"), | ||
FIRE("images/towers/fire_tower_atlas.atlas", "Fire Tower"), | ||
STUN("images/towers/stun_tower.atlas", "Stun Tower"), | ||
ECONOMY("images/economy/econ-tower.atlas", "Income Tower"); | ||
|
||
private final String imagePath; | ||
private final String towerName; | ||
|
||
TowerType(String imagePath, String towerName) { | ||
this.imagePath = imagePath; | ||
this.towerName = towerName; | ||
} | ||
|
||
public String getImagePath() { | ||
return imagePath; | ||
} | ||
|
||
public String getTowerName() { | ||
return towerName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters