public CutScene(Game game, string imagePath, string text) : base(game) { _imagePath = imagePath; _text = text.Split('\n'); _game = game; CanPause=false; ShowWaitMessage=false; }
public Scene(Game game) { CurrentGame = game; _blurListener = OnBlur; _focusListener = OnFocus; _keyDownListener = OnKeyDown; _keyUpListener = OnKeyUp; _resourceLoaded = ResourceLoaded; _maskedResourceLoaded = MaskedResourceLoaded; }
public ShooterLevel(Game game, bool practice, int length) : base(game) { _practice = practice; _length = length; if (practice) { _startMessage = "Practice your skills by reaching and destroying the mothership."; _winMessage = "Congratulations! You're ready for the real game!"; _failMessage = "Looks like you still need some more training..."; } else { _startMessage = "Destroy the enemy mothership!"; _winMessage = "<p>Mission Accomplished! Congratulations!</p>"; _failMessage = "Oh no! You've failed your mission!..."; } }
public RaceLevel(Game game, bool practice, int length) : base(game) { _practice = practice; RoadLength = length; if (practice) { _startMessage = "Practice your driving skills by finishing the track before the timer runs out."; _winMessage = "Congratulations! You're ready for the real game!"; _failMessage = "Looks like you still need some more training..."; } else { _startMessage = "Reach the research facility before it is bombed!"; _winMessage = "<p>Congratulations! You've reached the facility in time!</p>"; _failMessage = "Too late! You've failed to reach the facility in time..."; } }
public GameOver(Game game) : base(game) { ShowWaitMessage = false; }
public HighScores(Game game) : base(game) { ShowWaitMessage = false; }
public End(Game game) : base(game) { }
public FodderLevel(Game game) : base(game) { }
public Title(Game game) : base(game) { ShowWaitMessage = false; }
public PlatformLevel(Game game) : base(game) { }
public Intro(Game game) : base(game) { }