private bool isContinueSelected; // as opposed to "quit" being selected public GamePausedScreenFrame(GameInProgressFrame frame, int fps, IDTDeterministicRandom rng, GuidGenerator guidGenerator, int soundVolume, bool debugMode) { this.fps = fps; this.rng = rng; this.guidGenerator = guidGenerator; this.soundVolumePicker = new SoundVolumePicker(xPos: 0, yPos: 650, initialVolume: soundVolume); this.gameInProgressFrame = frame; this.isContinueSelected = true; this.debugMode = debugMode; }
public TitleScreenFrame( int fps, IDTDeterministicRandom rng, GuidGenerator guidGenerator, int?soundVolume, bool debugMode) { this.fps = fps; this.rng = rng; this.guidGenerator = guidGenerator; this.soundVolumePicker = soundVolume.HasValue ? new SoundVolumePicker(xPos: 0, yPos: 650, initialVolume: soundVolume.Value) : new SoundVolumePicker(xPos: 0, yPos: 650); this.debugMode = debugMode; }