|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BoardableShip
A Boardable Ship, which is an object that's boardable, rooms are attached to it so you can get in.
Field Summary |
---|
Method Summary | |
---|---|
void |
dockHere(Room R)
Designates that this ship is landed and docked in the given planetary room. |
java.lang.String |
getHomePortID()
Returns the room ID of the ships home port. |
Room |
getIsDocked()
Returns the Room where this ship is docked, or NULL if in space. |
Area |
getShipArea()
Space ships are unique in having an Item stand-in for dirt-side access, as well as an Area object. |
Item |
getShipItem()
Ships are unique in having an Item stand-in for port-side access, as well as an Area object. |
void |
renameShip(java.lang.String newName)
Renames the ship to something else |
void |
setDockableItem(Item dockableItem)
When a boardable ship area is created, it is bound to an item that resides in a room when docked, or possibly, always. |
void |
setHomePortID(java.lang.String portID)
Sets the room ID of the ships home port |
void |
setShipArea(java.lang.String xml)
Space ships are unique in having an Item stand-in for dirt-side access, as well as an Area object. |
Room |
unDock(boolean moveToOutside)
Designates that this ship is no longer docked, and whether it should also be moved into its na |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
---|
description, displayText, expirationDate, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, setName, text |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
---|
getTickStatus, name, tick |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
---|
affectCharState, affectCharStats, affectPhyStats |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
---|
executeMsg, okMessage |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
---|
amDestroyed, destroy, isSavable, setSavable |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, ID, initializeClass, newInstance |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
Method Detail |
---|
void dockHere(Room R)
R
- the coordinate toom in which the ship is docked.void setDockableItem(Item dockableItem)
dockableItem
- the item that acts as dockable itemRoom unDock(boolean moveToOutside)
moveToOutside
- true to put in space/ocean, or false to leave in limbo
Room getIsDocked()
Area getShipArea()
void setShipArea(java.lang.String xml)
xml
- area xml for the shipvoid renameShip(java.lang.String newName)
newName
- the new ship namejava.lang.String getHomePortID()
void setHomePortID(java.lang.String portID)
portID
- the ships home portItem getShipItem()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |