AbilityContainer, Affectable, Behavable, CMObject, CMObjectWrapper, Combatant, Contingent, DBIdentifiable, Environmental, Expireable, FactionMember, Followable<MOB>, ItemCollection, ItemPossessor, Modifiable, MsgListener, MUDCmdProcessor, Physical, PhysicalAgent, Rideable, Rider, StatsAffecting, Tattooable, Tickable, MOB, java.lang.Cloneable, java.lang.Comparable<CMObject>public class StdRideableWrapper extends StdMobWrapper implements MOB, Rideable, CMObjectWrapper
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.MoveMOB.AttribRideable.Basis| Modifier and Type | Field | Description |
|---|---|---|
protected Rideable |
rideable |
idConverterAGE_MILLIS_THRESHOLD, END_SHEATH_TIME, START_SHEATH_TIMEMETAFLAG_AS, METAFLAG_ASMESSAGE, METAFLAG_FORCED, METAFLAG_INORDER, METAFLAG_MPFORCED, METAFLAG_ORDER, METAFLAG_POSSESSED, METAFLAG_QUIETLY, METAFLAG_REVERSED, METAFLAG_SNOOPEDbaseCharStats, basePhyStats, curState, destroyed, lastLocation, location, mob, riding, triggererSTATUS_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| Constructor | Description |
|---|---|
StdRideableWrapper() |
| 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) |
This method recursively returns whoever this mob is riding, and
if they are a rideable, who all is riding with him.
|
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
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
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
|
CMObject |
newInstance() |
Returns a new instance of this class.
|
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
|
void |
setWrappedObject(CMObject obj) |
Set the object wrapped by this one.
|
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
|
abilities, addAbility, allAbilities, delAbility, delAllAbilities, fetchAbility, fetchAbility, fetchRandomAbility, numAbilities, numAllAbilitiesaddEffect, addNonUninvokableEffect, basePhyStats, delAllEffects, delEffect, eachEffect, effects, fetchEffect, fetchEffect, numEffects, phyStats, recoverPhyStats, setBasePhyStatsaddBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scriptscopyOf, initializeClassgetWrappedObjectamDead, getCombatant, getDirectionToTarget, healthText, isInCombat, killMeDead, makePeace, mayIFight, mayPhysicallyAttack, rangeToTarget, setCombatant, setRangeToTargetamDestroyed, destroy, isSavable, setSavablecanSaveDatabaseID, databaseID, setDatabaseIDdescription, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, textexpirationDate, setExpirationDateaddFaction, adjustFaction, copyFactions, factions, fetchFaction, fetchFactionData, fetchFactionRanges, getFactionListing, hasFaction, removeFactionaddFollower, amFollowing, amUltimatelyFollowing, delFollower, fetchFollower, fetchFollower, fetchFollowerOrder, followers, getGroupMembers, getGroupMembersAndRideables, isFollowedBy, numFollowers, setFollowing, totalFollowersaddItem, delAllItems, delItem, eachItem, findItem, findItem, findItems, findItems, getItem, getRandomItem, isContent, items, numItemsaddItem, getContextName, moveItemTo, moveItemToaddExpertise, addPriorityEffect, amActive, baseCharStats, baseState, baseWeight, bringToLife, bringToLife, charStats, clans, curState, delAllExpertises, delExpertise, dispossess, expertises, fetchExpertise, fetchFirstWornItem, fetchHeldItem, fetchItem, fetchWieldedItem, fetchWornItems, findAbility, flagVariableEq, freeWearPositions, getAbilityUsageCache, getAgeMinutes, getAttributesBitmap, getClanRole, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getLiegeID, getMoney, getMoneyVariation, getNaturalWeapon, getPeaceTime, getPractices, getQuestPoint, getStartRoom, getTrains, getVictim, getWearPositions, getWimpHitPoint, hasOnlyGoldInInventory, isAttributeSet, isMarriedToLiege, isMine, isMonster, isPlayer, isPossessing, isRacialAbility, lastTickedDateTime, location, maxCarry, maxFollowers, maxItems, maxState, numAllEffects, personalEffects, playerStats, recoverCharStats, recoverMaxState, removeFromGame, resetToMaxState, session, setAgeMinutes, setAttribute, setAttributesBitmap, setBaseCharStats, setBaseState, setClan, setExperience, setLiegeID, setLocation, setMoney, setMoneyVariation, setPlayerStats, setPractices, setQuestPoint, setSession, setSoulMate, setStartRoom, setTrains, setTriggerer, setVictim, setWimpHitPoint, soulMate, tell, tell, titledName, titledName, triggerer, willFollowOrdersOfgetSaveStatIndex, getStat, getStatCodes, isStat, setStatexecuteMsg, okMessageactions, clearCommandQueue, commandQueSize, dequeCommand, doCommand, enqueCommand, enqueCommands, getTopCommand, prequeCommand, prequeCommands, setActionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescription, displayText, genericName, nameaffectCharState, affectCharStats, affectPhyStatsabilities, actions, addAbility, addBehavior, addEffect, addExpertise, addFaction, addFollower, addItem, addItem, addNonUninvokableEffect, addPriorityEffect, addScript, addTattoo, addTattoo, addTattoo, adjustFaction, affectCharState, affectCharStats, affectPhyStats, allAbilities, amActive, amDead, amDestroyed, amFollowing, amUltimatelyFollowing, baseCharStats, basePhyStats, baseState, baseWeight, behaviors, bringToLife, bringToLife, canSaveDatabaseID, charStats, clans, clearCommandQueue, commandQueSize, compareTo, copyFactions, copyOf, curState, databaseID, delAbility, delAllAbilities, delAllBehaviors, delAllEffects, delAllExpertises, delAllItems, delAllScripts, delBehavior, delEffect, delExpertise, delFollower, delItem, delScript, delTattoo, delTattoo, dequeCommand, description, description, destroy, displayText, displayText, dispossess, doCommand, eachBehavior, eachEffect, eachItem, eachScript, effects, enqueCommand, enqueCommands, executeMsg, expertises, expirationDate, factions, fetchAbility, fetchAbility, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchExpertise, fetchFaction, fetchFactionData, fetchFactionRanges, fetchFirstWornItem, fetchFollower, fetchFollower, fetchFollowerOrder, fetchHeldItem, fetchItem, fetchRandomAbility, fetchScript, fetchWieldedItem, fetchWornItems, findAbility, findItem, findItem, findItems, findItems, findTattoo, findTattooStartsWith, flagVariableEq, followers, freeWearPositions, genericName, getAbilityUsageCache, getAgeMinutes, getAttributesBitmap, getClanRole, getCombatant, getContextName, getDirectionToTarget, getExperience, getExpNeededDelevel, getExpNeededLevel, getExpNextLevel, getExpPrevLevel, getFactionListing, getGroupMembers, getGroupMembersAndRideables, getItem, getLiegeID, getMoney, getMoneyVariation, getNaturalWeapon, getPeaceTime, getPractices, getQuestPoint, getRandomItem, getSaveStatIndex, getStartRoom, getStat, getStatCodes, getTickStatus, getTopCommand, getTrains, getVictim, getWearPositions, getWimpHitPoint, getWrappedObject, hasFaction, hasOnlyGoldInInventory, healthText, image, initializeClass, isAttributeSet, isContent, isFollowedBy, isGeneric, isInCombat, isMarriedToLiege, isMine, isMonster, isPlayer, isPossessing, isRacialAbility, isSavable, isStat, items, killMeDead, L, lastTickedDateTime, location, makePeace, maxCarry, maxFollowers, maxItems, maxRange, maxState, mayIFight, mayPhysicallyAttack, minRange, miscTextFormat, moveItemTo, moveItemTo, name, name, Name, numAbilities, numAllAbilities, numAllEffects, numBehaviors, numEffects, numFollowers, numItems, numScripts, okMessage, personalEffects, phyStats, playerStats, prequeCommand, prequeCommands, rangeToTarget, rawImage, recoverCharStats, recoverMaxState, recoverPhyStats, removeFaction, removeFromGame, resetToMaxState, riding, sameAs, scripts, session, setActions, setAgeMinutes, setAttribute, setAttributesBitmap, setBaseCharStats, setBasePhyStats, setBaseState, setClan, setCombatant, setDatabaseID, setDescription, setDisplayText, setExperience, setExpirationDate, setFollowing, setImage, setLiegeID, setLocation, setMiscText, setMoney, setMoneyVariation, setName, setPlayerStats, setPractices, setQuestPoint, setRangeToTarget, setRiding, setSavable, setSession, setSoulMate, setStartRoom, setStat, setTrains, setTriggerer, setVictim, setWimpHitPoint, soulMate, tattoos, tell, tell, text, tick, titledName, titledName, totalFollowers, triggerer, willFollowOrdersOfaddTattoo, addTattoo, addTattoo, delTattoo, delTattoo, findTattoo, findTattooStartsWith, tattoosgetTickStatus, name, tickprotected Rideable rideable
public java.lang.String ID()
CMObjectID in interface CMObjectID in class StdMobWrapperpublic void setWrappedObject(CMObject obj)
CMObjectWrappersetWrappedObject in interface CMObjectWrappersetWrappedObject in class StdMobWrapperobj - the object to wrappublic CMObject newInstance()
CMObjectnewInstance in interface CMObjectnewInstance in class StdMobWrapperpublic boolean isMobileRideBasis()
RideableisMobileRideBasis in interface RideableRideablepublic Rideable.Basis rideBasis()
Rideablepublic void setRideBasis(Rideable.Basis basis)
RideablesetRideBasis in interface Rideablebasis - the RIDEABLE_* constant describing how this is riddenRideablepublic int riderCapacity()
RideableriderCapacity in interface RideableRiderpublic void setRiderCapacity(int newCapacity)
RideablesetRiderCapacity in interface RideablenewCapacity - the maximum ridersRiderpublic int numRiders()
Rideablepublic java.util.Enumeration<Rider> riders()
Rideablepublic Rider fetchRider(int which)
RideablefetchRider in interface Rideablewhich - which rider to detchRider,
Rideable,
Rideable.numRiders()public void addRider(Rider mob)
Rideablepublic void delRider(Rider mob)
Rideablepublic boolean amRiding(Rider mob)
Rideablepublic java.lang.String stateString(Rider R)
RideablestateString in interface RideableR - The rider object to make grammatically correct.Rider,
Rideable.setStateString(String),
Rideable.getStateString()public java.lang.String getStateString()
RideablegetStateString in interface RideableRider,
Rideable.setStateString(String),
Rideable.stateString(Rider)public void setStateString(java.lang.String str)
RideablesetStateString in interface Rideablestr - a string describing the riders state of riding this RideableRider,
Rideable.stateString(Rider),
Rideable.getStateString()public java.lang.String rideString(Rider R)
RideablerideString in interface RideableR - The rider object to make grammatically correct.Rider,
Rideable.setRideString(String),
Rideable.getRideString()public java.lang.String getRideString()
RideablegetRideString in interface RideableRider,
Rideable.setRideString(String),
Rideable.rideString(Rider)public void setRideString(java.lang.String str)
RideablesetRideString in interface Rideablestr - a string describing the riders verb of riding this Rideable somewhereRider,
Rideable.rideString(Rider),
Rideable.getRideString()public java.lang.String putString(Rider R)
RideableputString in interface RideableR - The rider object to make grammatically correct.Rider,
Rideable.setPutString(String),
Rideable.getPutString()public java.lang.String getPutString()
RideablegetPutString in interface RideableRider,
Rideable.setPutString(String),
Rideable.putString(Rider)public void setPutString(java.lang.String str)
RideablesetPutString in interface Rideablestr - a string describing the riders state of putting something on this RideableRider,
Rideable.putString(Rider),
Rideable.getPutString()public java.lang.String stateStringSubject(Rider R)
RideablestateStringSubject in interface RideableR - The rider object to make grammatically correct.Rider,
Rideable.setStateStringSubject(String),
Rideable.getStateStringSubject()public java.lang.String getStateStringSubject()
RideablegetStateStringSubject in interface RideableRider,
Rideable.setStateStringSubject(String),
Rideable.stateStringSubject(Rider)public void setStateStringSubject(java.lang.String str)
RideablesetStateStringSubject in interface Rideablestr - a string describing the Riderable state of being riddenRider,
Rideable.stateStringSubject(Rider),
Rideable.getStateStringSubject()public boolean mobileRideBasis()
RideablemobileRideBasis in interface RideableRideable.rideBasis()public java.lang.String mountString(int commandType,
Rider R)
RideablemountString in interface RideablecommandType - one of the RIDEABLE_ constants as a typeR - The rider object to make grammatically correct.Rider,
Rideable.setMountString(String),
Rideable.getMountString()public java.lang.String getMountString()
RideablegetMountString in interface RideableRider,
Rideable.setMountString(String),
Rideable.mountString(int, Rider)public void setMountString(java.lang.String str)
RideablesetMountString in interface Rideablestr - a string describing the riders state of mounting this RideableRider,
Rideable.mountString(int, Rider),
Rideable.getDismountString()public java.lang.String dismountString(Rider R)
RideabledismountString in interface RideableR - The rider object to make grammatically correct.Rider,
Rideable.setDismountString(String),
Rideable.getDismountString()public java.lang.String getDismountString()
RideablegetDismountString in interface RideableRider,
Rideable.setDismountString(String),
Rideable.dismountString(Rider)public void setDismountString(java.lang.String str)
RideablesetDismountString in interface Rideablestr - a string describing the riders state of dismounting this RideableRider,
Rideable.dismountString(Rider),
Rideable.getDismountString()public java.util.Set<MOB> getRideBuddies(java.util.Set<MOB> list)
MOBgetRideBuddies in interface MOBgetRideBuddies in interface RideablegetRideBuddies in class StdMobWrapperlist - the required list to populate with riders and rideableRider,
Rideable