Examples of NPCLoc


Examples of org.moparscape.msc.gs.model.definition.entity.NPCLoc

  /**
   * Registers an npc with the world
   */
  public void registerNpc(Npc n) {
    NPCLoc npc = n.getLoc();
    if (npc.startX < npc.minX || npc.startX > npc.maxX
        || npc.startY < npc.minY || npc.startY > npc.maxY
        || (getTileValue(npc.startX, npc.startY).mapValue & 64) != 0) {
      Logger.println("Fucked Npc: <id>" + npc.id + "</id><startX>"
          + npc.startX + "</startX><startY>" + npc.startY
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.