From d00c18c9d384580a61e525b3dd4883d8d10e12ae Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sat, 1 May 2021 23:19:36 +0200 Subject: [PATCH] fix: changed gamestate event to new format BREAKING-CHANGE: GamestateEvent parameter type changes --- .../teamname/marvelous/gamelibrary/events/GameStateEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/events/GameStateEvent.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/events/GameStateEvent.java index 9eb3ebb..eb3a1a4 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/events/GameStateEvent.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/events/GameStateEvent.java @@ -5,7 +5,7 @@ import uulm.teamname.marvelous.gamelibrary.entities.EntityID; /** Represents the game state event ({@link EventType#GameStateEvent}). */ public class GameStateEvent extends Event { - public Entity[][] map; + public Entity[] entities; public EntityID[] turnOrder; public EntityID activeCharacter; public boolean winCondition;