Esempio n. 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));
		}
Esempio n. 2
0
		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;
		}
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
		public XLevelInfo(XLevelInfo info)
		{
			info.CopyTo(this);
		}
Esempio n. 5
0
 public XLevelInfo(XLevelInfo info)
 {
     info.CopyTo(this);
 }
Esempio n. 6
0
 public XLevelScore(XLevelInfo info)
     : base(info)
 {
 }
Esempio n. 7
0
		public XLevelScore(XLevelInfo info)
			: base(info)
		{
		}