Beispiel #1
0
 public BattleController(IPokemon pokemon, IPokemon enemyPokemon, IBattleView battleView, IBattleLogController battleLogController)
 {
     PlayerPokemon        = pokemon;
     EnemyPokemon         = enemyPokemon;
     _battleView          = battleView;
     _battleLogController = battleLogController;
 }
Beispiel #2
0
 public static IBattle CreateBattle(IPokemon playerPokemon, IPokemon enemyPokemon, IBattleView battleView, IBattleLogController battleLogController)
 {
     return(new BattleController(playerPokemon, enemyPokemon, battleView, battleLogController));
 }