# GameStateChangeEvent > Fired after the game state has changed. `gg.lode.observerapi.api.event` --- ## Signature ```java public class GameStateChangeEvent extends BaseEvent ``` --- ## Methods ### getOldState ```java public GameState getOldState() ``` **Returns:** [[GameState]] - the previous game state --- ### getNewState ```java public GameState getNewState() ``` **Returns:** [[GameState]] - the new game state --- ### getSource ```java public @Nullable Player getSource() ``` **Returns:** `@Nullable Player` - the player who initiated the state change, or `null` --- ## Related Pages - [[GameState]] - [[PreGameStateChangeEvent]] - [[IObserverAPI]]