diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/EventObserver.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/EventObserver.java index 369c972..0686e25 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/EventObserver.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/EventObserver.java @@ -9,14 +9,14 @@ import java.util.Observer; public class EventObserver implements Observer { @Override public void update(Observable o, Object arg) { - handle((Event)arg); + handle((Event[])arg); } /** * Gets called with incoming {@link Event}s. Override this method to handle events. - * @param event The event that got emitted + * @param event The events that got emitted */ - protected void handle(Event event) { + protected void handle(Event[] event) { } }