Affectable
, Behavable
, java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, Modifiable
, MsgListener
, Physical
, PhysicalAgent
, Rider
, StatsAffecting
, Tickable
NavigableItem
Bed
, Boat
, Chair
, GenBed
, GenBoardable
, GenBoat
, GenCageRideable
, GenCannon
, GenCaravan
, GenCastle
, GenChair
, GenClanCastle
, GenComputerConsole
, GenCow
, GenFurniture
, GenGrapples
, GenHorse
, GenMobilePortal
, GenNavigableBoardable
, GenPiano
, GenPortal
, GenRideable
, GenRideable
, GenRideableUndead
, GenSailingShip
, GenScale
, GenSiegableBoardable
, GenSiegeWeapon
, GenSpaceShip
, GenTable
, GenTent
, GenTub
, Horse
, HorseCart
, Pegasus
, PegasusGreater
, StdBoardable
, StdCageRideable
, StdComputerConsole
, StdGrapples
, StdNavigableBoardable
, StdPortal
, StdPortalWrapper
, StdRideable
, StdRideable
, StdRideableWrapper
, StdRideableWrapper
, StdSiegableBoardable
, StdSiegeWeapon
, StdTub
public interface Rideable extends Rider
Rider
Modifier and Type | Interface | Description |
---|---|---|
static class |
Rideable.Basis |
idConverter
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Modifier and Type | Method | Description |
---|---|---|
void |
addRider(Rider mob) |
Adds a new Rider to this Rideable.
|
boolean |
amRiding(Rider mob) |
Returns whether Rider is currently mounted on this Rideable
|
void |
delRider(Rider mob) |
Removes a Rider from this Rideable.
|
java.lang.String |
dismountString(Rider R) |
Returns a string grammatically correct for the given rider when
they are dismounting this Rideable
|
Rider |
fetchRider(int which) |
Returns a particular Rider mounted on this Rideable.
|
java.lang.String |
getDismountString() |
Returns a custom string grammatically correct for the given rider when
they are dismounting this Rideable
|
java.lang.String |
getMountString() |
Returns a custom string grammatically correct for the given rider when
they are mounting this Rideable
|
java.lang.String |
getPutString() |
Returns a custom string grammatically correct for the given rider when
they are putting something on this Rideable
|
java.util.Set<MOB> |
getRideBuddies(java.util.Set<MOB> list) |
Adds all of the MOB Riders on this Rideable to the given Set and returns it
|
java.lang.String |
getRideString() |
Returns a custom verb string describing what one does when one rides
this Rideable from room to room.
|
java.lang.String |
getStateString() |
Returns the custom string grammatically correct for the given rider when
they are mounted on this Rideable
|
java.lang.String |
getStateStringSubject() |
Returns a custom string grammatically correct for this Rideable when
Riders are mounted
|
boolean |
isMobileRideBasis() |
Whether the type of rideable is mobile.
|
boolean |
mobileRideBasis() |
Whether this Rideable moves when the Rider wants to move it.
|
java.lang.String |
mountString(int commandType,
Rider R) |
Returns a string grammatically correct for the given rider when
they are mounting this Rideable
|
int |
numRiders() |
Returns the number of riders currently mounted on this Rideable
|
java.lang.String |
putString(Rider R) |
Returns a string grammatically correct for the given rider when
they are putting something on this Rideable
|
Rideable.Basis |
rideBasis() |
The type of rideable object this is.
|
int |
riderCapacity() |
The number of Riders which may ride upon this Rideable
|
java.util.Enumeration<Rider> |
riders() |
Returns an iterator of the riders on this rideable
|
java.lang.String |
rideString(Rider R) |
Returns a verb string describing what one does when one rides
this Rideable from room to room.
|
void |
setDismountString(java.lang.String str) |
Sets a string grammatically correct for the given rider when
they are dismounting this Rideable
|
void |
setMountString(java.lang.String str) |
Setss a string grammatically correct for the given rider when
they are mounting this Rideable
|
void |
setPutString(java.lang.String str) |
Set a string grammatically correct for the given rider when
they are putting something on this Rideable
|
void |
setRideBasis(Rideable.Basis basis) |
Sets type of rideable object this is.
|
void |
setRiderCapacity(int newCapacity) |
Sets the number of Riders which may ride upon this Rideable
|
void |
setRideString(java.lang.String str) |
Sets a verb string describing what one does when one rides
this Rideable from room to room.
|
void |
setStateString(java.lang.String str) |
Returns a string grammatically correct for the given rider when
they are mounted on this Rideable
|
void |
setStateStringSubject(java.lang.String str) |
Sets a string grammatically correct for this Rideable when
Riders are mounted
|
java.lang.String |
stateString(Rider R) |
Returns a string grammatically correct for the given rider when
they are mounted on this Rideable
|
java.lang.String |
stateStringSubject(Rider R) |
Returns a string grammatically correct for this Rideable when
Riders are mounted
|
addEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, recoverPhyStats, setBasePhyStats
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
description, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
description, displayText, genericName, name
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
boolean isMobileRideBasis()
Rideable
Rideable.Basis rideBasis()
Rideable
void setRideBasis(Rideable.Basis basis)
basis
- the RIDEABLE_* constant describing how this is riddenRideable
int riderCapacity()
Rider
void setRiderCapacity(int newCapacity)
newCapacity
- the maximum ridersRider
int numRiders()
Rider
java.util.Enumeration<Rider> riders()
Rider
Rider fetchRider(int which)
which
- which rider to detchRider
,
Rideable
,
numRiders()
void addRider(Rider mob)
void delRider(Rider mob)
boolean amRiding(Rider mob)
java.lang.String stateString(Rider R)
R
- The rider object to make grammatically correct.Rider
,
setStateString(String)
,
getStateString()
java.lang.String getStateString()
Rider
,
setStateString(String)
,
stateString(Rider)
void setStateString(java.lang.String str)
str
- a string describing the riders state of riding this RideableRider
,
stateString(Rider)
,
getStateString()
java.lang.String rideString(Rider R)
R
- The rider object to make grammatically correct.Rider
,
setRideString(String)
,
getRideString()
java.lang.String getRideString()
Rider
,
setRideString(String)
,
rideString(Rider)
void setRideString(java.lang.String str)
str
- a string describing the riders verb of riding this Rideable somewhereRider
,
rideString(Rider)
,
getRideString()
java.lang.String putString(Rider R)
R
- The rider object to make grammatically correct.Rider
,
setPutString(String)
,
getPutString()
java.lang.String getPutString()
Rider
,
setPutString(String)
,
putString(Rider)
void setPutString(java.lang.String str)
str
- a string describing the riders state of putting something on this RideableRider
,
putString(Rider)
,
getPutString()
java.lang.String stateStringSubject(Rider R)
R
- The rider object to make grammatically correct.Rider
,
setStateStringSubject(String)
,
getStateStringSubject()
java.lang.String getStateStringSubject()
Rider
,
setStateStringSubject(String)
,
stateStringSubject(Rider)
void setStateStringSubject(java.lang.String str)
str
- a string describing the Riderable state of being riddenRider
,
stateStringSubject(Rider)
,
getStateStringSubject()
boolean mobileRideBasis()
rideBasis()
java.lang.String mountString(int commandType, Rider R)
commandType
- one of the RIDEABLE_ constants as a typeR
- The rider object to make grammatically correct.Rider
,
setMountString(String)
,
getMountString()
java.lang.String getMountString()
Rider
,
setMountString(String)
,
mountString(int, Rider)
void setMountString(java.lang.String str)
str
- a string describing the riders state of mounting this RideableRider
,
mountString(int, Rider)
,
getDismountString()
java.lang.String dismountString(Rider R)
R
- The rider object to make grammatically correct.Rider
,
setDismountString(String)
,
getDismountString()
java.lang.String getDismountString()
Rider
,
setDismountString(String)
,
dismountString(Rider)
void setDismountString(java.lang.String str)
str
- a string describing the riders state of dismounting this RideableRider
,
dismountString(Rider)
,
getDismountString()