public Player_Test() { Form form = new Form(); player.CreatePlayerDetails(form); player.CreateLives(form); }
public void SetupGame(int Level) { // Create Game Board gameboard.CreateBoardImage(this, Level); // Create Board Matrix Tuple <int, int> PacmanStartCoordinates = gameboard.InitialiseBoardMatrix(Level); // Create Player player.CreatePlayerDetails(this); player.CreateLives(this); // Create Form Elements formelements.CreateFormElements(this); // Create High Score highscore.CreateHighScore(this); // Create Food food.CreateFoodImages(this); // Create Ghosts ghost.CreateGhostImage(this); // Create Pacman pacman.CreatePacmanImage(this, PacmanStartCoordinates.Item1, PacmanStartCoordinates.Item2); }
public void SetupGame(int Level) { // Create Game Board // gameboard.CreateBoardImage(this, Level); facade.CreateBoardImage(this, Level); // Create Player player.CreatePlayerDetails(this); player.CreateLives(this); // Create Form Elements facade.CreateFormElements(this); // Create High Score facade.CreateHighScore(this); // Create Food regularFood.CreateFoodImages(this); superFood.CreateFoodImages(this); megaFood.CreateFoodImages(this); // Create Ghosts ghost.CreateGhostImage(this); }
public void SetupGame() { food.RemoveFoodImages(this); player = new Player(); pacman.SetFormElement(formelements); // Create Game Board gameboard.CreateBoardImage(this, 1); // Create Board Matrix Tuple <int, int> PacmanStartCoordinates = gameboard.InitialiseBoardMatrix(1); player.RemoveLives(this); // Create Player player.CreatePlayerDetails(this); player.CreateLives(this); // Create Form Elements formelements.CreateFormElements(this); // Create High Score highscore.CreateHighScore(this); // Create Food food.CreateFoodImages(this); // Create Ghosts ghost.CreateGhostImage(this); // Create Pacman` pacman.RemovePacmanImage(this, PacmanStartCoordinates.Item1, PacmanStartCoordinates.Item2); pacman.CreatePacmanImage(this, PacmanStartCoordinates.Item1, PacmanStartCoordinates.Item2); }