// Constructor(s) public GameEngine(GameArgs args) { // Copy arguments (to avoid outside editing of the arguments) _args = new GameArgs(args); // Console GameConsole.Initialize(); // Content _content = new ContentManager(args.Content); // GameStates _states = new GameStateManager(this, args.States); // Graphics _graphics = new GraphicsRenderer(); _graphics.SetRenderSize(args.Graphics.ResolutionWidth, args.Graphics.ResolutionHeight); // Input _input = new InputManager(args.Input); // _users = new UserManager(9001); // Time _time = new TimeManager(args.Time); // Window CreateWindow(args.Window); // Add Debug GameState if (args.Debug.Activated) { _states.AddState(new Debugging.DebugGameState(args.Debug)); } }