コード例 #1
0
 public Gymleader GetGymleader(int locationID)
 {
     object[] data = context.GetGymleader(locationID);
     //TODO: zet methodes voor location en pokemon hier
     return(new Gymleader(data[0].ToString(), Convert.ToInt32(data[1]), data[2].ToString(), Convert.ToInt32(data[3]), Convert.ToInt32(data[4]), Convert.ToInt32(data[5]), null /*dit wordt location*/, null /*GetInventory(Convert.ToInt32(data[1]))*/, null /*GetPokemon(data[1])*/, Convert.ToBoolean(data[6])));
 }