Exemplo n.º 1
0
 //create pokemon with specific moves, chains the 2 arg constructor
 public Pokemon(int dexNum, int level, string move1, string move2, string move3, string move4) : this(dexNum, level)
 {
     this.currentMoves[0] = Moves.get_move(move1);
     this.currentMoves[1] = Moves.get_move(move2);
     this.currentMoves[2] = Moves.get_move(move3);
     this.currentMoves[3] = Moves.get_move(move4);
 }
Exemplo n.º 2
0
 public Learnset(int level, string move)
 {
     this.level = level;
     this.move  = Moves.get_move(move);
 }