Beispiel #1
0
 private void HandleSoldierPositionEvent(PositionEvent e)
 {
     if (PlayerGuid == e.PlayerGuid)
     {
         observable.Publish(new SetCameraPositionCommand(e.Position));
     }
 }
Beispiel #2
0
 private void HandleSoldierPositionEvent(PositionEvent e)
 {
     if (e.PlayerGuid == PlayerGuid)
     {
         syncData.Position = e.Position;
     }
 }