示例#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 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;
		}
示例#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;
 }
示例#4
0
		public XLevelInfo(XLevelInfo info)
		{
			info.CopyTo(this);
		}
示例#5
0
 public XLevelInfo(XLevelInfo info)
 {
     info.CopyTo(this);
 }
示例#6
0
 public XLevelScore(XLevelInfo info)
     : base(info)
 {
 }
示例#7
0
		public XLevelScore(XLevelInfo info)
			: base(info)
		{
		}