Exemplo n.º 1
0
        public Trainer(global:: Trainer obj)
        {
            name     = obj.name;
            playerID = obj.playerID;
            teamPos  = obj.teamID;

            party = new List <Pokemon>();
            for (int i = 0; i < obj.party.Count; i++)
            {
                party.Add(new Pokemon(obj.party[i]));
            }

            items = new List <string>();
            for (int i = 0; i < obj.items.Count; i++)
            {
                items.Add(obj.items[i].itemID);
            }

            controlPos = new List <int>(obj.controlPos);
        }
Exemplo n.º 2
0
 public Trainer()
 {
     _trainer = new global::Trainer();
     _trainer.select("lbfgs", "crf1d");
 }