Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace testAdventure
- {
- static class Engine
- {
- public static void Initilise()
- {
- Console.SetWindowSize(150, 40); // Default Size = 120 : 30
- Player.Initilise();
- Level.Initilise();
- CommandDictonary.Initialise();
- //DynamicWordLists.Build();
- }
- public static void StartScreen()
- {
- PrintBuffer.PrintFrame();
- PrintBuffer.PrintType();
- UserInput.AnyKeyContinue();
- PrintBuffer.PrintFrame();
- }
- public static void PlayGame()
- {
- AreaUtilities.ActivateArea(Player.Location());
- Console.Write("\n> ");
- UserInput.GetInput(Console.ReadLine());
- }
- public static void GoodByeScreen()
- {
- GoodByeScreen bye = new GoodByeScreen();
- FrameBuffer.frame = bye.GetFrame();
- FrameBuffer.type = bye.GetTypeWrite();
- PrintBuffer.PrintMoreFrame();
- PrintBuffer.PrintType();
- UserInput.Pause_AnyKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment