Reimplement wave AI, split out some UI code into a ui module, update TODO

This commit is contained in:
2022-05-10 05:28:01 +02:00
parent 2f63695ee9
commit 75debe1905
15 changed files with 588 additions and 248 deletions

View File

@@ -27,6 +27,10 @@ public class PlayerManager {
return allSuccess;
}
public boolean contains(Player player) {
return m_playerStates.containsKey(player);
}
public boolean requestTransition(Player player, State toState) {
State currentState = m_playerStates.get(player);
if (currentState == toState) {