Example #1
0
        private void SurvivalViewController_MouseClick(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Right)
            {
                player.ChangeOrbStyle();
                // playerOrb
                return;
            }

            if (player.CanMove)
            {
                player.MoveTo(new CGPoint(e.Location.X, e.Location.Y));
            }
        }