cleanup: optimize imports, remove unused code, fix warnings
This commit is contained in:
@ -172,6 +172,24 @@ class GameLogicTest {
|
||||
assertEquals(EventType.GamestateEvent, actual.type, "First event should be a GameStateEvent");
|
||||
|
||||
System.out.println(game.toString());
|
||||
|
||||
game.applyEvents(GameLogic.spawnThanos(game.getState()));
|
||||
|
||||
System.out.println(game.toString());
|
||||
|
||||
NPC thanos = (NPC)game.state.getEntities().findEntity(new EntityID(EntityType.NPC, 2));
|
||||
|
||||
game.applyEvents(GameLogic.handleThanos(game.getState(), thanos));
|
||||
|
||||
System.out.println(game.toString());
|
||||
|
||||
game.applyEvents(GameLogic.handleThanos(game.getState(), thanos));
|
||||
|
||||
System.out.println(game.toString());
|
||||
|
||||
game.applyEvents(GameLogic.handleThanos(game.getState(), thanos));
|
||||
|
||||
System.out.println(game.toString());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user