示例#1
0
 protected override void AfterStart()
 {
     base.AfterStart();
     // Reset timer so it starts at 0 instead of 4.2
     startTime         = level.RawTimeActive;
     level.Add(display = new MinigameScoreDisplay(this, THEOS_NEEDED, false));
 }
 protected override void AfterStart()
 {
     base.AfterStart();
     // Reset timer so it starts at 30 instead of (30 - the time it takes to count down)
     startTime         = level.RawTimeActive;
     level.Add(display = new MinigameScoreDisplay(this));
     if (GameData.Instance.gnetHost)
     {
         ActivateSwitch(switches[rand.Next(switches.Count)]);
     }
 }