Exemplo n.º 1
0
        public void draw(GamePoint game_point)
        {
            int  i    = game_point.CoordI;
            int  j    = game_point.CoordJ;
            char skin = game_point.Skin;

            _gameArea[i, j] = skin;
        }
Exemplo n.º 2
0
 public bool are_player_chest(int i, int j, GamePoint g_a)
 {
     if (i == g_a.CoordI && j == g_a.CoordJ)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 3
0
 public void Test_chest(GamePoint g_a, ref int c)
 {
     foreach (var chest in chests)
     {
         if (are_player_chest(chest.CoordI, chest.CoordJ, g_a))
         {
             chest.deactiveate();
             c++;
         }
     }
 }