コード例 #1
0
        public void EndGame()
        {
            gameOverScreen = new GameOverScreen(this);
            currentScreen  = Screen.GameOverScreen;

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

            startScreen    = null;
            gameOverScreen = null;
        }
コード例 #3
0
ファイル: Warrior.cs プロジェクト: SteamHunters/Steam-Hunters
 public Warrior(Texture2D tex, Vector2 pos, GameWindow window, GamePlayScreen gps) : base(tex, pos, window, gps)
 {
 }
コード例 #4
0
ファイル: Player.cs プロジェクト: SteamHunters/Steam-Hunters
 public Player(Texture2D tex, Vector2 pos, GameWindow window, GamePlayScreen gps)
     : base(tex, pos)
 {
     this.gps    = gps;
     this.window = window;
 }