Пример #1
0
 private void btnUp_Click(object sender, EventArgs e)
 {
     if (true)
     {
     }
     Game.MovePlayer(Character.Movement.up);
 }
Пример #2
0
        private void btnUp_Click(object sender, EventArgs e)
        {
            Game.MovePlayer(Character.Movement.up);

            Game.Map.Maptiles[Game.Map.hero.Y - 1, Game.Map.hero.X] = 'H';

            lblMap.Text = Game.ToString();
        }