Example #1
0
        public GameOptions()
        {
            this.players = new Player[Player.MaxPlayerCount];

            for (var i = 0; i < Player.MaxPlayerCount; i++)
            {
                this.players[i] = new Player(i);
            }

            this.players[0].InGame = true;
            this.consolePlayer     = 0;

            this.episode = 1;
            this.map     = 1;
            this.skill   = GameSkill.Medium;

            this.netGame = false;

            this.deathmatch      = 0;
            this.fastMonsters    = false;
            this.respawnMonsters = false;
            this.noMonsters      = false;

            this.intermissionInfo = new IntermissionInfo();

            this.renderer  = null;
            this.sound     = NullSound.GetInstance();
            this.music     = NullMusic.GetInstance();
            this.userInput = NullUserInput.GetInstance();
        }
Example #2
0
        public GameOptions()
        {
            this.player = new Player();

            this.episode = 1;
            this.map     = 1;
            this.skill   = GameSkill.Medium;

            this.fastMonsters    = false;
            this.respawnMonsters = false;
            this.noMonsters      = false;

            this.intermissionInfo = new IntermissionInfo();

            this.renderer  = null;
            this.sound     = NullSound.GetInstance();
            this.music     = NullMusic.GetInstance();
            this.userInput = NullUserInput.GetInstance();
        }