Example #1
0
 /* The constructor requires no special parameters unique to itself, and passes them all into the parent contructor. */
 public TurnRun(PokemonInBattle user, PokemonInBattle target, Battle battleRef) : base(user, target, battleRef)
 {
 }
Example #2
0
 /* The TurnSwitch constructor takes the BaseTurn parameters plus the new index, which is set into the correct field. */
 public TurnSwitch(PokemonInBattle user, PokemonInBattle target, Battle battleRef, byte newIndex) : base(user, target, battleRef)
 {
     this.newIndex = newIndex;
 }