/// <summary> /// A new instance of GameEngine. /// </summary> public GameEngine() { GameStates = new Stack<GameState>(); InputMgr = new InputManager(this); DeltaTime = new GameTime(); Window = new RenderWindow(new VideoMode(1280, 720), "Jeden"); }
/// <summary> /// Sets the InputManager that this GameState's ControlMap watches /// </summary> /// <param name="inputmgr">The watched InputManager</param> public void SetInputManager(InputManager inputmgr) { InputMgr = inputmgr; }