public static void Main() { ConsoleWindow.CustomizeConsole(); Wall wall = new Wall(150, 40); Food food = new FoodDollar(wall); Snake snake = new Snake(wall, food); Engine engine = new Engine(wall, snake, food); engine.Run(); }
private void GetFoods() { food[0] = new FoodDollar(wall); food[1] = new FoodAsterisk(wall); food[2] = new FoodHashtag(wall); }