Пример #1
0
        public LevelEngine(GameEngine gameEngine, XLevelInfo levelInfo, XLevelScore levelScore)
			: base(gameEngine, levelInfo.File)
		{
            this.LevelInfo = levelInfo;
			this.LevelScore = levelScore;
			this.cps = new EventRateCounter(TimeSpan.FromSeconds(game.GameObject.CpsTimeSpan));
		}
Пример #2
0
 public LevelEngine(GameEngine gameEngine, XLevelInfo levelInfo, XLevelScore levelScore)
     : base(gameEngine, levelInfo.File)
 {
     this.LevelInfo  = levelInfo;
     this.LevelScore = levelScore;
     this.cps        = new EventRateCounter(TimeSpan.FromSeconds(game.GameObject.CpsTimeSpan));
 }