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; }
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); } }
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++; } } }