fix: changed gamestate event to new format

BREAKING-CHANGE: GamestateEvent parameter type changes
This commit is contained in:
Yannik Bretschneider 2021-05-01 23:19:36 +02:00
parent cdf9c342ef
commit d00c18c9d3

View File

@ -5,7 +5,7 @@ import uulm.teamname.marvelous.gamelibrary.entities.EntityID;
/** Represents the game state event ({@link EventType#GameStateEvent}). */ /** Represents the game state event ({@link EventType#GameStateEvent}). */
public class GameStateEvent extends Event { public class GameStateEvent extends Event {
public Entity[][] map; public Entity[] entities;
public EntityID[] turnOrder; public EntityID[] turnOrder;
public EntityID activeCharacter; public EntityID activeCharacter;
public boolean winCondition; public boolean winCondition;