Example #1
0
 static void Main(string[] args)
 {
     Console.WriteLine("Loading game...");
     Thread.Sleep(500);
     AvailableSaves.PreLoadSaves();
     Console.Clear();
     MenuInitializer.Run();
 }
Example #2
0
        public async Task OnTick()
        {
            if (!firstTick)
            {
                firstTick = true;
                InitStartUpSettings();
                ChatCommandsMain.InitAllChatCommands();
                MenuInitializer.InitMenu();
            }

            OnTickEvents.Execute();
        }
 private void Start()
 {
     player          = GameObject.FindGameObjectWithTag("Player").GetComponent <Player>();
     menuInitializer = GameObject.FindObjectOfType <MenuInitializer>();
     roomManager     = GameObject.FindObjectOfType <RoomManager>();
 }