mud.common.objects
Class Transporter

java.lang.Object
  extended by mud.common.room.IdObject
      extended by mud.common.objects.GameObject
          extended by mud.common.objects.Transporter

public class Transporter
extends GameObject

Like a door. Step on it to teleport to a new room/location


Constructor Summary
Transporter(int id, ImageRect image, int targetRoomId, int tx, int ty)
           
 
Method Summary
 int getTargetRoomId()
           
 int getTargetX()
           
 int getTargetY()
           
 
Methods inherited from class mud.common.objects.GameObject
contributeTileActions, dispose, executeTileAction, getActivity, getDirection, getImage, getName, getRoom, getTile, getX, getY, setActivity, setDirection, setPos, setRoom, toXml
 
Methods inherited from class mud.common.room.IdObject
getId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transporter

public Transporter(int id,
                   ImageRect image,
                   int targetRoomId,
                   int tx,
                   int ty)
Method Detail

getTargetRoomId

public int getTargetRoomId()

getTargetX

public int getTargetX()

getTargetY

public int getTargetY()