Class TeleportAction

java.lang.Object
games.stendhal.server.entity.npc.action.TeleportAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=LOCATION, label="Teleport") public class TeleportAction extends Object implements ChatAction
Teleports the player to the specified location.
  • Constructor Details

    • TeleportAction

      public TeleportAction(String zonename, int x, int y, Direction direction)
      Creates a new TeleportAction.
      Parameters:
      zonename - name of destination zone
      x - x-position
      y - y-position
      direction - facing into this direction
  • Method Details