Package org.jpokemon.trainer

Examples of org.jpokemon.trainer.Trainer


    }
    catch (FileNotFoundException e) {
      throw new ServiceException("Trainer file not found: " + getData());
    }

    Trainer trainer = new Trainer(getData());
    trainer.loadXml(trainerData);

    if (!player.record().getTrainer(trainer.id())) {
      PlayerManager.addActivity(player, new Battle(player, trainer));
    }
  }
View Full Code Here

TOP

Related Classes of org.jpokemon.trainer.Trainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.