Package games.stendhal.server.core.engine

Examples of games.stendhal.server.core.engine.RPClassGenerator


  @Override
  public void modify(final RPObject object) {
  }

  protected void createRPClasses() {
    new RPClassGenerator().createRPClasses();
  }
View Full Code Here


  private static final double DEFAULT_DURATION_THRESHOLD = 0.2;
  private static double durationThreshold;
  private static Player player;

  public static void main(final String[] args) throws Exception {
    new RPClassGenerator().createRPClasses();
    final CreatureGroupsXMLLoader loader = new CreatureGroupsXMLLoader("/data/conf/creatures.xml");
    final List<DefaultCreature> creatures = loader.load();

    Collections.sort(creatures, new Comparator<DefaultCreature>() {
View Full Code Here

public class RPObjectDumper {

  public static void main(String[] args) throws SQLException, IOException {
    new DatabaseFactory().initializeDatabase();

    new RPClassGenerator().createRPClasses();

    int objectid = Integer.parseInt(args[0]);
    RPObject object = DAORegister.get().get(RPObjectDAO.class).loadRPObject(objectid);
    RPObject object2 = new RPObject(object);
    System.out.println("transformed object: " + object);
View Full Code Here

public class SellerBehaviourTest {

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    new RPClassGenerator().createRPClassesWithoutBaking(); // for Player, NPC and TradeStateChangeEvent RPClasses
  }
View Full Code Here

      System.err.println("java " + RPClassDumper.class.getName() + " outputFolder");
      System.exit(1);
    }
    new File(args[0]).mkdirs();

    new RPClassGenerator().createRPClassesWithoutBaking();
    new RPClassDumper(args[0]).dumpAll();
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.core.engine.RPClassGenerator

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.