Package org.pokenet.server.backend.entity.Positionable

Examples of org.pokenet.server.backend.entity.Positionable.Direction


   * @param c
   * @param origin
   * @param destination
   */
  public void moveBetweenMaps(Char c, ServerMap origin, ServerMap dest) {
    Direction dir = null;
    /*
     * Reposition player so they're on the correct edge
     */
    if (origin.getX() > dest.getX()) { // dest. map is to the left
      c.setX(dest.getWidth() * 32 - 32);
View Full Code Here

TOP

Related Classes of org.pokenet.server.backend.entity.Positionable.Direction

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.