Package com.minigameworld.managers.event
package com.minigameworld.managers.event
-
ClassDescription[Rules]
- Must register instance which processes playing game player's only (not about viewers and outers)
- If event is detectable with players byMiniGameEventDetector
, the event will be only passed to the player's playing game listeners.
- If event is not detectable with players byMiniGameEventDetector
, the event will be passed to all listeners related with event.
In thisGameListenerManager
class, useGameListenerManager.getListeners(Class)
to get listeners with event
[Listener registration tutorial]
If listener related with minigame needs to handle events
1.