public ZeldaGame() : base() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; this.graphics.PreferredBackBufferHeight = 144; this.graphics.PreferredBackBufferWidth = 160; _managerInput = new ManagerInput(); }
public void LoadNewScreen(Screen screen, bool fade = true, bool loadContent = true) { ManagerInput.PauseInput(750); _tempScreenHolder = screen; _loadContent = loadContent; if (!fade) { AfterFadeOut(); _currentPhase = Phase.Running; return; } _currentPhase = Phase.FadeOut; _counter = 0; _alpha = 0; }