/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (ScreenHandler game = new ScreenHandler()) { game.Run(); } }
/// <summary> /// Creates a GameScreen which handles gameplay /// </summary> public GameScreen(ScreenHandler screenHandler) : base(screenHandler) { // ---------- Create ContentLibrary ---------- _contentLibrary = new ContentLibrary(Content); // ---------- Create GameLevel ---------- _gameLevel = new GameLevel(this, "poopies"); //_gameLevel = new GameLevel(this, 40, 40, 1); // ---------- Create GameInterface ---------- _gameInterface = new GameInterface(this); }
/// <summary> /// General Screen class constructor. Derive-only /// </summary> public AbstractScreen(ScreenHandler screenHandler) { _screenHandler = screenHandler; }