public Main() { Instance = this; //Resolution and Fullscreen graphics = new GraphicsDeviceManager(this) { PreferredBackBufferWidth = 1280, PreferredBackBufferHeight = 960, IsFullScreen = false }; Content.RootDirectory = "Content"; currentState = new State.Menu(this, graphics.GraphicsDevice); }
public void ChangeState(State.State state) { currentState = state; Initialize(); }