Package pp.battleship.notification
Schnittstelle GameEventBroker
- Alle bekannten Implementierungsklassen:
ClientGameLogic
public interface GameEventBroker
Defines a broker for distributing game events to registered listeners.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
notifyListeners
(GameEvent event) Notifies all registered listeners about the specified game event.
-
Methodendetails
-
notifyListeners
Notifies all registered listeners about the specified game event.- Parameter:
event
- the game event to be broadcast to listeners
-