Package rea.events
Class GameChangedEvent
java.lang.Object
rea.events.GameChangedEvent
- All Implemented Interfaces:
UpdateEvent
Event that indicates that a game instance has changed. For instance, a new player joined the game,
the game stared, or the game ended.
- Author:
- José Paulo Leal
jpleal@fc.up.pt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the game instance that changed.
-
Constructor Details
-
GameChangedEvent
Create a game changed event.- Parameters:
gameInstance
- the game instance that changed
-
-
Method Details
-
getGameInstance
Get the game instance that changed.- Returns:
- the game instance that changed
-