public GameScreen(SpaceAdventureGame game, string name, Color clearColor) : base(game, name, clearColor) { _spriteBatch = game.SpriteBatch ?? throw new AccessViolationException("Games SpriteBatch not initialized"); _content = game.Content; }
public GameScreen(SpaceAdventureGame game, string name) : this(game, name, Color.CornflowerBlue) { }