forked from AlmasB/FXGLGames
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added data structures to support gameplay
- Loading branch information
Showing
22 changed files
with
231 additions
and
136 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
TowerDefense/src/main/java/com/almasb/fxglgames/td/Config.java
This file was deleted.
Oops, something went wrong.
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
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
36 changes: 0 additions & 36 deletions
36
TowerDefense/src/main/java/com/almasb/fxglgames/td/collision/BulletEnemyHandler.java
This file was deleted.
Oops, something went wrong.
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
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
5 changes: 1 addition & 4 deletions
5
TowerDefense/src/main/java/com/almasb/fxglgames/td/components/TowerComponent.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
15 changes: 15 additions & 0 deletions
15
TowerDefense/src/main/java/com/almasb/fxglgames/td/data/Config.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,15 @@ | ||
package com.almasb.fxglgames.td.data; | ||
|
||
/** | ||
* @author Almas Baimagambetov (almaslvl@gmail.com) | ||
*/ | ||
public class Config { | ||
|
||
public static final double BULLET_SPEED = 15 * 60; | ||
|
||
public static final int STARTING_MONEY = 1000; | ||
public static final int MAX_MONEY = 9999; | ||
public static final int PERFECT_CLEAR_REWARD = 100; | ||
|
||
public static final int STARTING_HP = 15; | ||
} |
10 changes: 10 additions & 0 deletions
10
TowerDefense/src/main/java/com/almasb/fxglgames/td/data/EnemyData.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,10 @@ | ||
package com.almasb.fxglgames.td.data; | ||
|
||
/** | ||
* @author Almas Baimagambetov (almaslvl@gmail.com) | ||
*/ | ||
public record EnemyData( | ||
int hp, | ||
int reward, | ||
double moveSpeed | ||
) { } |
Oops, something went wrong.