public void SetCreature(CreatureContext creature) { Creature = creature; if (Creature != null) { CreatureAnimator.runtimeAnimatorController = Creature.Creature.Species.Animations; } if (Creature != null && !IsActive) { Activate(); } if (Creature == null && IsActive) { Deactivate(); } UpdateCreature(null, null); }
public virtual MoveContext CreateMove(CreatureContext creature, Move move) { return(new MoveContext(this, creature, move)); }
public MoveContext(BattleContext battle, CreatureContext creature, Move move) : base(move) { Creature = creature; }