Пример #1
0
 private void NotifyPausePlayerMoved(PausePlayer player)
 {
     if (PausePlayerMoved != null)
         PausePlayerMoved(player);
 }
Пример #2
0
        public void DoDirectionDelta(PausePlayer player, ref Vector3 delta)
        {
            if (!IsPanelVisible)
                return;

            player.Rotate(ref delta, MouseConfiguration.RotatingSpeed);
        }
Пример #3
0
 public void DoPanelAction(PausePlayer player)
 {
     foreach (var p in Panels.Values)
         if (p.Visible)
             p.DoClick(player.Circle);
 }
Пример #4
0
        public void DoMoveDelta(PausePlayer player, ref Vector3 delta)
        {
            if (!IsPanelVisible)
                return;

            player.Move(ref delta, MouseConfiguration.MovingSpeed);
        }