예제 #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)
		{
		}