public ServerController() { networking = new Networking(this); accountController = new AccountController(this); loginController = new LoginController(this); chatController = new ChatController(this); logicTimer = new HighResolutionTimer(8, logic); //120 fps logic timer codingSection = new SectionController(this, "Coding Section"); //allSection = new SectionController(this); gameSection = new SectionController(this, "Game Section"); graphicsSection = new SectionController(this, "Graphics Section"); otherSection = new SectionController(this, "Other Section"); networking.Start(); Console.ReadKey(true); networking.Stop(); Thread.Sleep(1000); }
public ChatIOController(ChatController c) { controller = c; }