예제 #1
0
 public void Chapter(Player player, GameImages images)
 {
     //builds the chapter images and gameplay. Grid takes the .txt and populates a two-dimensional jagged array
     Clear();
     CurrentPlayer = player;
     grid          = GameImages.ParseFileToArray($"{gridname}");// creates grid. using enum
     CurrentLayout = new GameLayout(grid);
     CurrentImages = images;
     CurrentMenu   = new UserMenus();
     //run the world
     RunGameLoop();
 }
예제 #2
0
        public void ChapBoss(Player player, GameImages images, GameDialogue dialogue, Enemies enemies, UserMenus menu)
        {
            Clear();

            menu.StoryFightMenu(CurrentPlayer, enemies, images, dialogue);
        }