Package org.moparscape.msc.gs.model.definition.entity

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

Related Classes of org.moparscape.msc.gs.model.definition.entity.NPCLoc

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.