public BaseGame() : base() { _graphics = new GraphicsDeviceManager(this); _graphics.IsFullScreen = true; Resolution.Init(ref _graphics); Components = new ComponentStore(); GameScreenService = new GameScreenService(); }
public BaseGameScreen(string name, BaseGame game, List <IComponent> components = null) { Game = game; Name = name; if (components == null) { Components = new ComponentStore(); } else { Components = new ComponentStore(components); } Textures = new Dictionary <string, Texture2D>(); SoundEffects = new Dictionary <string, SoundEffect>(); }