public void ReactTo(BaseLevel.Event gameEvent) { switch (gameEvent) { case BaseLevel.Event.Greetings: case BaseLevel.Event.DodgedBoulder: case BaseLevel.Event.DodgedWorm: case BaseLevel.Event.DodgedGlove: case BaseLevel.Event.Punched: this.Say(Phrases.Random(gameEvent.ToString("G"))); break; case BaseLevel.Event.Started: this.ForceInterrupt(Phrases.Random(gameEvent.ToString("G"))); break; case BaseLevel.Event.Fell: case BaseLevel.Event.Eaten: case BaseLevel.Event.Smashed: case BaseLevel.Event.Win: this.ForceInterrupt(Phrases.Random(gameEvent.ToString("G"))); this.CanFeelBlank = false; break; } }
private void FillBlank() { if (!this.CanFeelBlank) { return; } this.Say(Phrases.Random(Phrases.FillBlank)); }