Package com.csse3200.game.services
Interface GameState.StateChangeListener
- Enclosing class:
- GameState
public static interface GameState.StateChangeListener
Callback interface to be implemented by classes interested in
receiving notifications about state changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onStateChange
(ConcurrentHashMap<String, Object> newStateData) Callback method triggered when the state changes.
-
Method Details
-
onStateChange
Callback method triggered when the state changes.- Parameters:
newStateData
- The new state data after the change.
-