Examples of entityToType()


Examples of games.stendhal.server.core.engine.db.StendhalKillLogDAO.entityToType()

      logger.info(player.getName() + " is attacking " + victim.getName());
    }

    StendhalKillLogDAO killLog = DAORegister.get().get(StendhalKillLogDAO.class);
    new GameEvent(killLog.getEntityName(player), "attack", killLog.getEntityName(victim), killLog.entityToType(player), killLog.entityToType(victim)).raise();

    player.setTarget(victim);
    player.faceToward(victim);
    player.applyClientDirection(false);
    player.notifyWorldAboutChanges();
View Full Code Here

Examples of games.stendhal.server.core.engine.db.StendhalKillLogDAO.entityToType()

      logger.info(player.getName() + " is attacking " + victim.getName());
    }

    StendhalKillLogDAO killLog = DAORegister.get().get(StendhalKillLogDAO.class);
    new GameEvent(killLog.getEntityName(player), "attack", killLog.getEntityName(victim), killLog.entityToType(player), killLog.entityToType(victim)).raise();

    player.setTarget(victim);
    player.faceToward(victim);
    player.applyClientDirection(false);
    player.notifyWorldAboutChanges();
View Full Code Here

Examples of games.stendhal.server.core.engine.db.StendhalKillLogDAO.entityToType()

  public void onDead(final Entity killer, final boolean remove) {
    StendhalKillLogDAO killLog = DAORegister.get().get(StendhalKillLogDAO.class);
    String killerName = killLog.getEntityName(killer);

    if (killer instanceof RPEntity) {
      new GameEvent(killerName, "killed", killLog.getEntityName(this), killLog.entityToType(killer), killLog.entityToType(this)).raise();
    }

    DBCommandQueue.get().enqueue(new LogKillEventCommand(this, killer));

    // Players are unique, so they should not get an article.
View Full Code Here

Examples of games.stendhal.server.core.engine.db.StendhalKillLogDAO.entityToType()

  public void onDead(final Entity killer, final boolean remove) {
    StendhalKillLogDAO killLog = DAORegister.get().get(StendhalKillLogDAO.class);
    String killerName = killLog.getEntityName(killer);

    if (killer instanceof RPEntity) {
      new GameEvent(killerName, "killed", killLog.getEntityName(this), killLog.entityToType(killer), killLog.entityToType(this)).raise();
    }

    DBCommandQueue.get().enqueue(new LogKillEventCommand(this, killer));

    // Players are unique, so they should not get an article.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.