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

Class PALplate.lib.upButton

java.lang.Object
   |
   +----sub_arctic.lib.min_interactor
           |
           +----sub_arctic.lib.base_interactor
                   |
                   +----sub_arctic.lib.multi_button
                           |
                           +----sub_arctic.lib.button
                                   |
                                   +----PALplate.interactors.SelfCallbackButton
                                           |
                                           +----PALplate.lib.upButton

public class upButton
extends SelfCallbackButton
This button knows how to move the user up a level (ie, zoom the user out) in the mud. If they're not looking at a room/map in the mud, it just returns the GUI to a state such that they are looking at their current location in the mud.
See Also:
UIActor

Constructor Index

 o upButton()
 o upButton(loaded_image)

Method Index

 o callback(interactor, event, int, Object)
Check to see if the user is looking at our current location in the mud and should move up.
 o init(String, Object)
This function is called immediately after the object is dynamically loaded and created.
 o mudDescription()

Constructors

 o upButton
  public upButton()
 o upButton
  public upButton(loaded_image i)

Methods

 o init
  public void init(String mudobjnum,
                   Object args)
This function is called immediately after the object is dynamically loaded and created.
Overrides:
init in class SelfCallbackButton
 o mudDescription
  public String mudDescription()
Overrides:
mudDescription in class SelfCallbackButton
 o callback
  public void callback(interactor from_obj,
                       event evt,
                       int callback_num,
                       Object callback_info)
Check to see if the user is looking at our current location in the mud and should move up. Notify the player that her location has changed while we're at it.

Otherwise, bring the user back from whatever URL they were browsing to the view of the mud which is current.

Overrides:
callback in class SelfCallbackButton

All Packages  Class Hierarchy  This Package  Previous  Next  Index