public CreatureContext(BattleContext battle, TrainerContext trainer, Creature creature) : base(creature) { Trainer = trainer; foreach (var move in creature.Moves) { Moves.Add(battle.CreateMove(this, move)); } }
public virtual CreatureContext CreateCreature(TrainerContext trainer, Creature creature) { return(new CreatureContext(this, trainer, creature)); }