Example #1
0
        public void EndGame()
        {
            gameOverScreen = new GameOverScreen(this);
            currentScreen  = Screen.GameOverScreen;

            gamePlayScreen = null;
        }
Example #2
0
        public void StartGame()
        {
            gamePlayScreen = new GamePlayScreen(this);
            currentScreen  = Screen.GamePlayScreen;

            startScreen    = null;
            gameOverScreen = null;
        }
Example #3
0
 public Warrior(Texture2D tex, Vector2 pos, GameWindow window, GamePlayScreen gps) : base(tex, pos, window, gps)
 {
 }
Example #4
0
 public Player(Texture2D tex, Vector2 pos, GameWindow window, GamePlayScreen gps)
     : base(tex, pos)
 {
     this.gps    = gps;
     this.window = window;
 }