public override Event MakeReal(Screen level)
 {
     FadeEvent fEvent = new FadeEvent(
         level.Game.Camera, startColour, endColour,
         duration, trigger.MakeReal(level), level.House);
     return fEvent;
 }
 public override Event MakeReal(Screen level)
 {
     Text gText = new Text(textAndPos.text);
     gText.Position = textAndPos.pos;
     if (hud) gText.SetHUD(level.Game.Camera);
     return new TextEvent(trigger.MakeReal(level), gText, level.House);
 }
 public override Trigger MakeReal(Screen level)
 {
     return new TimedTrigger(start, length);
 }
 public override Event MakeReal(Screen level)
 {
     ShakeEvent fEvent = new ShakeEvent(
         level.Game.Camera, shakiness, trigger.MakeReal(level), level.House);
     return fEvent;
 }
Example #5
0
 public void AddLevel(Screen _level)
 {
     List<Screen> levels = m_screens.ToList();
     levels.Add(_level);
     m_screens = levels;
 }
 public abstract Trigger MakeReal(Screen level);