public static void EnemyTrainerDrawsbackPokemon(IPokemon pokemon) { ConsoleUtils.WaitOneSecond(); ConsoleUtils.TrainerAction <EnemyAction>($"{pokemon?.GetType().Name}, come back!"); ConsoleUtils.WaitOneSecond(); ConsoleUtils.ClearScreen(); }
public static void PlayerSendsPokemon(IPokemon pokemon) { ConsoleUtils.WaitOneSecond(); ConsoleUtils.TrainerAction <PlayerAction>($"Go, {pokemon.GetType().Name}!"); ConsoleUtils.WaitOneSecond(); ConsoleUtils.ClearScreen(); }
public static void PlayerDrawsbackPokemon(IPokemon pokemon) { ConsoleUtils.WaitOneSecond(); ConsoleUtils.TrainerAction <PlayerAction>($"Great job, {pokemon.GetType().Name}. Come back!"); ConsoleUtils.WaitOneSecond(); ConsoleUtils.ClearScreen(); }
public static void ShowItemWasUsedOnPokemon(IItem item, IPokemon pokemon) { ConsoleUtils.ShowMessageAndWaitTwoSeconds($"{item.GetType().Name} was used on {pokemon.GetType().Name}!"); ConsoleUtils.ClearScreen(); }
public static void ShowItemCannotBeUsed() { ConsoleUtils.ShowMessageAndWaitTwoSeconds("The selected item cannot be used on the Pokemon!"); ConsoleUtils.ClearScreen(); }
public static void EnemyTrainerWantsToBattle(ITrainer enemyTrainer) { Console.WriteLine($"{enemyTrainer.GetType().Name} wants to battle!"); ConsoleUtils.WaitTwoSeconds(); ConsoleUtils.ClearScreen(); }
public static void TrainerHasNoPokemonLeft(ITrainer trainer) { ConsoleUtils.ClearScreen(); ConsoleUtils.ShowMessageBetweenEmptyLines($"{trainer.GetType().Name} has no other pokemon left to battle..."); }
public static void ShowPlayerThereAreNoPokemonLeftToSwitch() { ConsoleUtils.ShowMessageAndWaitOneSecond("There are no other pokemon left to battle!"); ConsoleUtils.ClearScreen(); }