public Game1() : base() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; this.graphics.PreferredBackBufferHeight = 144; this.graphics.PreferredBackBufferWidth = 160; _managerInput = new ManagerInput(); Console.WriteLine("hej hej"); }
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; }
public Game1() : base() { _managerInput = new ManagerInput(); graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; this.graphics.PreferredBackBufferHeight = 128; this.graphics.PreferredBackBufferWidth = 160; _managerCamera = new ManagerCamera(); _mainForm = new MainForm(_managerCamera); var thread = new Thread(new ThreadStart(new ThreadStart(RunGUI))); thread.Start(); }