Example #1
0
        protected override void MouseUp(_MouseButton button)
        {
            if (button == _MouseButton.Left) {
                Player.IsEnabled = !Player.IsEnabled;
            }

            base.MouseUp(button);
        }
Example #2
0
        protected override void MouseUp(_MouseButton button)
        {
            if (button == _MouseButton.Left) {
                World.Game.Exit();
            }

            base.MouseUp(button);
        }
Example #3
0
        protected override void MouseUp(_MouseButton button)
        {
            if(button == _MouseButton.Left) {
                ((PongWorld)World.ParentWorld).Resume();
            }

            base.MouseUp(button);
        }
Example #4
0
 protected virtual void MouseUp(_MouseButton button)
 {
 }
Example #5
0
 protected virtual void MouseHold(_MouseButton button)
 {
 }
Example #6
0
 protected virtual void MouseDown(_MouseButton button)
 {
 }