Area, Affectable, Behavable, BoundedObject, CMObject, Contingent, Economics, Environmental, Expireable, Modifiable, MsgListener, Physical, PhysicalAgent, Places, SpaceObject, StatsAffecting, Tickable, java.lang.Cloneable, java.lang.Comparable<CMObject>public class StdPlanet extends StdTimeZone implements SpaceObject
Area.CompleteRoomEnumerator, Area.RoomComparator, Area.RoomIDComparator, Area.RoomIDEnumerator, Area.State, Area.StatsBoundedObject.BoundedCubeSpaceObject.Distance, SpaceObject.SpaceGatewayStdArea.AreaInstanceChild, StdArea.IStatContext| Modifier and Type | Field | Description |
|---|---|---|
protected long[] |
coordinates |
|
protected static double[] |
emptyDirection |
|
protected long |
radius |
DEFAULT_TIME_PASSIVE_LAPSE, FLAG_INSTANCE_CHILD, FLAG_INSTANCE_PARENT, FLAG_THIN, THEME_ALLTHEMES, THEME_BIT_NAMES, THEME_FANTASY, THEME_HEROIC, THEME_INHERIT, THEME_NAMES, THEME_PHRASE, THEME_PHRASE_EXT, THEME_SKILLONLYMASK, THEME_TECHNOLOGYidConverterALL_CLIMATE_MASK, ATMOSPHERE_INHERIT, CLIMASK_COLD, CLIMASK_DRY, CLIMASK_HOT, CLIMASK_INHERIT, CLIMASK_NORMAL, CLIMASK_VOID, CLIMASK_WET, CLIMASK_WINDY, CLIMATE_DESCS, NUM_CLIMATES, placeComparatorACCELERATION_DAMAGED, ACCELERATION_G, ACCELERATION_INSTANTDEATH, ACCELERATION_ROLLARCOASTER, ACCELERATION_TYPICALROCKET, ACCELERATION_TYPICALSPACEROCKET, ACCELERATION_UNCONSCIOUSNESS, ASTEROID_MASS, ATMOSPHERIC_DRAG_BRICK, ATMOSPHERIC_DRAG_STREAMLINE, DISTANCES, MOONLET_MASS, MULTIPLIER_GRAVITY_EFFECT_RADIUS, MULTIPLIER_ORBITING_RADIUS_MAX, MULTIPLIER_ORBITING_RADIUS_MIN, MULTIPLIER_PLANET_MASS, MULTIPLIER_STAR_MASS, VELOCITY_ESCAPE, VELOCITY_LIGHT, VELOCITY_ORBITING, VELOCITY_SOUND, VELOCITY_SUBLIGHT, VELOCITY_TRANSWARP1, VELOCITY_TRANSWARP10, VELOCITY_TRANSWARP2, VELOCITY_TRANSWARP3, VELOCITY_TRANSWARP4, VELOCITY_TRANSWARP5, VELOCITY_TRANSWARP6, VELOCITY_TRANSWARP7, VELOCITY_TRANSWARP8, VELOCITY_TRANSWARP9, VELOCITY_WARP1, VELOCITY_WARP10, VELOCITY_WARP2, VELOCITY_WARP3, VELOCITY_WARP4, VELOCITY_WARP5, VELOCITY_WARP6, VELOCITY_WARP7, VELOCITY_WARP8, VELOCITY_WARP9_name, affects, amDestroyed, archPath, atmosphere, author, basePhyStats, behaviors, blurbFlags, budget, children, climask, climateObj, currency, derivedAtmo, derivedClimate, derivedTheme, description, devalueRate, empty, emptyPiety, emptyStats, expirationDate, flag, ignoreMask, imageName, invResetRate, itemPricingAdjs, lastComplainer, lastPlayerTime, me, metroRoomIDSet, miscText, myClock, parents, passiveLapseMs, phyStats, playerLevel, prejudiceFactors, properRoomIDSet, properRooms, roomComparator, scripts, STDAREACODES, subOps, theme, threadId, tickStatus, xtraValuesSTATUS_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 |
|---|---|
StdPlanet() |
| Modifier and Type | Method | Description |
|---|---|---|
long[] |
coordinates() |
The current absolute coordinates of the object
|
double[] |
direction() |
The direction of travel of this object in radians.
|
java.lang.String |
genericName() |
Returns a generic name for this object, devoid of its particular
identifying details.
|
BoundedObject.BoundedCube |
getBounds() |
|
protected int |
getLocCodeNum(java.lang.String code) |
|
long |
getMass() |
Returns the mass of this object, derived from its
radius and type, or perhaps from other things.
|
java.lang.String |
getStat(java.lang.String code) |
An alternative means of retreiving the values of those fields on this object which are modifiable at
run-time by builders.
|
java.lang.String[] |
getStatCodes() |
Returns an array of the string names of those fields which are modifiable on this object at run-time by
builders.
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
SpaceObject |
knownSource() |
The source object from which this space object is travelling from
|
SpaceObject |
knownTarget() |
If this object is targeting another space object as a destination, this will return it
|
long |
radius() |
The current radius of the object
|
void |
setCoords(long[] coords) |
Sets the current absolute coordinates of the object
|
void |
setDirection(double[] dir) |
Sets the direction of travel of this object in radians.
|
void |
setKnownSource(SpaceObject O) |
Sets the source object from which this space object is travelling from
|
void |
setKnownTarget(SpaceObject O) |
If this object is targeting another space object as a destination, this will set it
|
void |
setName(java.lang.String newName) |
Sets the raw unmodified name of this object as stored in the database.
|
void |
setRadius(long radius) |
Set the current radius of the object
|
void |
setSpeed(double v) |
Sets the speed of the object through space
|
void |
setStat(java.lang.String code,
java.lang.String val) |
An alternative means of setting the values of those fields on this object which are modifiable at
run-time by builders.
|
double |
speed() |
The speed of the object through space
|
copyOf, initializeClass, newInstanceamDestroyed, destroy, isSavable, setSavabledescription, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, textexpirationDate, setExpirationDategetSaveStatIndex, isStatexecuteMsg, okMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaffectCharState, affectCharStats, affectPhyStatsaddBehavior, addBlurbFlag, addEffect, addMetroRoom, addMetroRoomnumber, addNonUninvokableEffect, addParent, addProperRoom, addProperRoomnumber, addScript, addSubOp, affectCharState, affectCharStats, affectPhyStats, amDestroyed, amISubOp, areaBlurbFlags, basePhyStats, behaviors, buildAreaIMobStats, buildAreaIStats, buildAreaPiety, buildAreaStats, canChild, canParent, cloneFix, compareTo, delAllBehaviors, delAllEffects, delAllScripts, delBehavior, delBlurbFlag, delEffect, delMetroRoom, delMetroRoomnumber, delProperRoom, delProperRoomnumber, delScript, delSubOp, description, description, destroy, displayText, displayText, eachBehavior, eachEffect, eachScript, effects, executeMsg, expirationDate, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchScript, fillInAreaRoom, fillInAreaRooms, finalAreaBudget, finalAreaDevalueRate, finalCurrency, finalIgnoreMask, finalInvResetRate, finalItemPricingAdjustments, finalPrejudiceFactors, flags, getArchivePath, getAreaIStats, getAreaState, getAreaStats, getAtmosphere, getAtmosphereCode, getAuthorID, getBlurbFlag, getCachedRoomnumbers, getChild, getChildren, getChildrenIterator, getChildrenReverseIterator, getClimateObj, getClimateType, getClimateTypeCode, getCodeNum, getCompleteMap, getFilledCompleteMap, getFilledProperMap, getFinalBudget, getFinalCurrency, getFinalDevalueRate, getFinalIgnoreMask, getFinalInvResetRate, getFinalItemPricingAdjustments, getFinalPrejudiceFactors, getMetroMap, getNewRoomID, getParent, getParents, getParentsIterator, getParentsRecurse, getParentsReverseIterator, getPercentRoomsCached, getPiety, getPiety, getPlayerLevel, getProperMap, getProperRoomnumbers, getRandomMetroRoom, getRandomProperRoom, getRawBbudget, getRawCurrency, getRawDevalueRate, getRawIgnoreMask, getRawInvResetRate, getRawItemPricingAdjustments, getRawPrejudiceFactors, getRoom, getRoomBase, getSaveStatIndex, getSubOpList, getTheme, getThemeCode, getTickStatus, image, initializeClass, inMyMetroArea, isAreaLocation, isChild, isChild, isChildRecurse, isGeneric, isParent, isParent, isParentRecurse, isProperlyEmpty, isRoom, isRoomCached, isRoomID, isSavable, isStat, L, loadAreas, maxRange, metroSize, minRange, miscTextFormat, name, name, Name, newInstance, numAllBlurbFlags, numBehaviors, numberOfProperIDedRooms, numBlurbFlags, numEffects, numScripts, okMessage, phyStats, properSize, rawImage, recoverPhyStats, removeChild, removeParent, sameAs, scripts, setArchivePath, setAreaState, setAtmosphere, setAuthorID, setBasePhyStats, setBudget, setClimateObj, setClimateType, setCurrency, setDescription, setDevalueRate, setDisplayText, setExpirationDate, setIgnoreMask, setImage, setInvResetRate, setItemPricingAdjustments, setMiscText, setPlayerLevel, setPrejudiceFactors, setProperRoomnumbers, setSavable, setSubOpList, setTheme, setTimeObj, subOps, text, tickaddChild, copyOf, getTimeObjgetTickStatus, name, tickprotected static double[] emptyDirection
protected long[] coordinates
protected long radius
public java.lang.String ID()
CMObjectID in interface CMObjectID in class StdTimeZonepublic long[] coordinates()
SpaceObjectcoordinates in interface SpaceObjectpublic void setCoords(long[] coords)
SpaceObjectsetCoords in interface SpaceObjectcoords - 3 dimensional array of the coordinates in spacepublic double[] direction()
SpaceObjectdirection in interface SpaceObjectpublic void setDirection(double[] dir)
SpaceObjectsetDirection in interface SpaceObjectdir - 2 dimensional array for the direction of movementpublic double speed()
SpaceObjectspeed in interface SpaceObjectpublic void setSpeed(double v)
SpaceObjectsetSpeed in interface SpaceObjectv - the speedpublic long radius()
SpaceObjectradius in interface SpaceObjectpublic void setRadius(long radius)
SpaceObjectsetRadius in interface SpaceObjectradius - the current radius of the objectpublic void setName(java.lang.String newName)
EnvironmentalsetName in interface EnvironmentalsetName in class StdTimeZonenewName - the raw base name of this object on the map.Environmental.Name()public java.lang.String genericName()
PhysicalgenericName in interface PhysicalgenericName in class StdAreapublic SpaceObject knownTarget()
SpaceObjectknownTarget in interface SpaceObjectpublic void setKnownTarget(SpaceObject O)
SpaceObjectsetKnownTarget in interface SpaceObjectO - the target destinationpublic SpaceObject knownSource()
SpaceObjectknownSource in interface SpaceObjectpublic void setKnownSource(SpaceObject O)
SpaceObjectsetKnownSource in interface SpaceObjectO - the source of this objectpublic long getMass()
SpaceObjectgetMass in interface SpaceObjectpublic BoundedObject.BoundedCube getBounds()
getBounds in interface BoundedObjectpublic java.lang.String getStat(java.lang.String code)
ModifiablegetStat in interface ModifiablegetStat in class StdAreacode - the name of the field to read.Modifiable.getStatCodes()public void setStat(java.lang.String code,
java.lang.String val)
ModifiablesetStat in interface ModifiablesetStat in class StdAreacode - the name of the field to setval - the value to set the field toModifiable.getStatCodes()protected int getLocCodeNum(java.lang.String code)
public java.lang.String[] getStatCodes()
ModifiablegetStatCodes in interface ModifiablegetStatCodes in class StdAreaModifiable.getStat(String),
Modifiable.setStat(String, String)