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)); }
public void CopyTo(XLevelInfo other) { other.Id = this.Id; other.SeriesNumber = this.SeriesNumber; other.LevelNumber = this.LevelNumber; other.Name = this.Name; other.File = this.File; other.BombCount = this.BombCount; other.HeroHealth = this.HeroHealth; other.ExplosionClass = this.ExplosionClass; other.StarScoreRatio1 = this.StarScoreRatio1; other.StarScoreRatio2 = this.StarScoreRatio2; other.StarScoreRatio3 = this.StarScoreRatio3; other.TimeBonusThreshold = this.TimeBonusThreshold; other.HealthBonusThreshold = this.HealthBonusThreshold; other.TimeBonusRatio = this.TimeBonusRatio; other.TimeExtraBonusRatio = this.TimeExtraBonusRatio; other.HealthBonusRatio = this.HealthBonusRatio; }
public XLevelInfo(XLevelInfo info) { info.CopyTo(this); }
public XLevelScore(XLevelInfo info) : base(info) { }