// ------------------------------------------------------------------------------- // ShowText // ------------------------------------------------------------------------------- public void ShowText(DescriptionTemplate text) { if (text != null) { gameScreen.ShowError(text.getDescription); } }
// ------------------------------------------------------------------------------- // ShowError // Displays an error using the provided DescriptionTemplate // ------------------------------------------------------------------------------- public void ShowError(DescriptionTemplate error) { if (error != null) { SoundController.Play(errorSound); gameScreen.ShowError(error.getDescription); } }