-
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.
Revert "Merge branch 'Team-5--Economy' of github.com:UQcsse3200/2023-…
- Loading branch information
Showing
2 changed files
with
14 additions
and
29 deletions.
There are no files selected for viewing
36 changes: 14 additions & 22 deletions
36
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 |
---|---|---|
@@ -1,35 +1,27 @@ | ||
package com.csse3200.game.screens; | ||
|
||
public enum TowerType { | ||
WEAPON("images/towers/turret_deployed.png", "Weapon Tower", | ||
"The Weapon Tower is a simple and basic turret that fires rapid shots at enemies dealing damage over time."), | ||
TNT("images/towers/turret_deployed.png", "TNT Tower", | ||
"The TNT Tower launches explosive projectiles, dealing area damage to groups of enemies."), | ||
DROID("images/towers/turret_deployed.png", "Droid Tower", | ||
"Droid Towers deploy robotic helpers that assist in combat and provide support to nearby turrets."), | ||
WALL("images/towers/turret_deployed.png", "Wall Tower", | ||
"The Wall Tower creates barriers to block enemy paths, slowing down their progress."), | ||
FIRE("images/towers/turret_deployed.png", "Fire Tower", | ||
"The Fire Tower emits flames, causing damage over time to enemies caught in its fiery radius."), | ||
STUN("images/towers/turret_deployed.png", "Stun Tower", | ||
"The Stun Tower releases electric shocks that temporarily immobilize and damage enemies."), | ||
INCOME("images/towers/turret_deployed.png", "Income Tower", | ||
"The Income Tower generates additional in-game currency over time."); | ||
WEAPON("images/towers/turret_deployed.png", "Weapon Tower"), | ||
TNT("images/towers/turret_deployed.png", "TNT Tower"), | ||
DROID("images/towers/turret_deployed.png", "Droid Tower"), | ||
WALL("images/towers/turret_deployed.png", "Wall Tower"), | ||
FIRE("images/towers/turret_deployed.png", "Fire Tower"), | ||
STUN("images/towers/turret_deployed.png", "Stun Tower"), | ||
INCOME("images/towers/turret_deployed.png", "Income Tower"); | ||
|
||
private final String imagePath; | ||
private final String towerName; | ||
private final String description; | ||
|
||
TowerType(String imagePath, String towerName, String description) { | ||
TowerType(String imagePath, String towerName) { | ||
this.imagePath = imagePath; | ||
this.towerName = towerName; | ||
this.description = description; | ||
} | ||
|
||
public String getImagePath() { return imagePath; } | ||
|
||
public String getTowerName() { return towerName; } | ||
|
||
public String getDescription() { return description; } | ||
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