public InnerGameState(StateSystem system, Input input, PersistantGameData gameData, Font generalFont) { _input = input; _system = system; _gameData = gameData; _generalFont = generalFont; OnGameStart(); }
public GameOverState(PersistantGameData data, StateSystem system, Input input, Font generalFont, Font titleFont) { _gameData = data; _system = system; _input = input; _generalFont = generalFont; _titleFont = titleFont; _titleWin = new Text("Complete!", _titleFont); _blurbWin = new Text("Congratulations, you won!", _generalFont); _titleLose = new Text("Game Over!", _titleFont); _blurbLose = new Text("Please try again...", _generalFont); FormatText(_titleWin, 300); FormatText(_blurbWin, 200); FormatText(_titleLose, 300); FormatText(_blurbLose, 200); }