Beispiel #1
0
 public override void AddListener()
 {
     EventMediat.AddListener(EventCode.NewPlayer, OnSyncPlayerReceived);
 }
Beispiel #2
0
 public override void AddListener()
 {
     EventMediat.AddListener(MessageCode.AddPlayer, OnSyncAddPlayerReceived);
     EventMediat.AddListener(MessageCode.RemovePlayer, OnSyncRemovePlayerReceived);
     EventMediat.AddListener(MessageCode.PlayerDead, OnSyncPlayerDeadReceived);
 }
 public override void AddListener()
 {
     EventMediat.AddListener(EventCode.SyncPosition, OnSyncPositionReceived);
 }
Beispiel #4
0
 public override void AddListener()
 {
     EventMediat.AddListener(MessageCode.SyncTransition, OnSyncTransitionReceived);
 }
Beispiel #5
0
 public override void AddListener()
 {
     EventMediat.AddListener(MessageCode.AddBomb, OnAddBombReceived);
     EventMediat.AddListener(MessageCode.OpenBomb, OnOpenBombReceived);
 }