Class PALplate.lib.userMover
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PALplate.lib.userMover

java.lang.Object
   |
   +----sub_arctic.lib.min_interactor
           |
           +----sub_arctic.lib.base_interactor
                   |
                   +----PALplate.lib.userMover

public class userMover
extends base_interactor
implements pressable
This class knows how to move the user to a new location.

Constructor Index

 o userMover(int, int, int, int, String)
Constructor

Method Index

 o mudDescription()
 o press(event, Object)
 o release(event, Object)
Tell the mud to move the user and ask the mud to respond with the type of the new location (map or room).

Constructors

 o userMover
  public userMover(int x,
                   int y,
                   int width,
                   int height,
                   String where)
Constructor
Parameters:
where - The place to which the player should be moved. In the case if mapDisplay each UIActorArea'ss userMover represents a constant place so they always move the user to the same place.

Methods

 o press
  public boolean press(event evt,
                       Object info)
 o release
  public boolean release(event evt,
                         Object info)
Tell the mud to move the user and ask the mud to respond with the type of the new location (map or room). This response is currently only sent to the player, and not to all logged in players.
 o mudDescription
  public String mudDescription()
Returns:
The place to which someone will be sent if they click on here. Should this maybe be the exit (instead of the room)?

All Packages  Class Hierarchy  This Package  Previous  Next  Index