Exemple #1
0
		public Boolean IsPaused(Stage stage)
		{
			if (stage == null) throw new ArgumentNullException("stage");

			if (IsActive == false) return false;

			return m_pausebackgrounds;
		}
Exemple #2
0
        public void Set(EngineInitialization init)
        {
			if (init == null) throw new ArgumentNullException("init");

			m_init = init;

            m_stage = new Stage(this, init.Stage);

            Team1.CreatePlayers(init.P1, null);
            Team2.CreatePlayers(init.P2, null);

			GetSubSystem<Random>().Seed(init.Seed);

            Reset();
        }