|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Areas.StdArea
com.planet_ink.coffee_mud.Areas.StdTimeZone
com.planet_ink.coffee_mud.Areas.StdPlanet
public class StdPlanet
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Areas.interfaces.Area |
|---|
Area.CompleteRoomEnumerator, Area.RoomComparator, Area.RoomIDComparator, Area.RoomIDEnumerator |
| Field Summary | |
|---|---|
long[] |
coordinates
|
double[] |
direction
|
SpaceObject |
orbiting
|
long |
velocity
|
| Fields inherited from class com.planet_ink.coffee_mud.Areas.StdArea |
|---|
affects, amDestroyed, archPath, author, basePhyStats, behaviors, blurbFlags, budget, children, childrenToLoad, climateID, climateObj, currency, description, devalueRate, empty, expirationDate, flag, ignoreMask, imageName, initializedArea, invResetRate, itemPricingAdjustments, lastPlayerTime, metroRoomIDSet, miscText, myClock, name, parents, parentsToLoad, phyStats, prejudiceFactors, properRoomIDSet, properRooms, scripts, subOps, techLevel, tickStatus, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.SpaceObject |
|---|
DISTANCE_AROUNDGALAXY, DISTANCE_LIGHTYEAR, DISTANCE_MILE, DISTANCE_ORBITING, DISTANCE_PLANETRADIUS, 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 |
| Fields inherited from interface com.planet_ink.coffee_mud.Areas.interfaces.Area |
|---|
ALL_CLIMATE_MASK, AREASTAT_AVGALIGN, AREASTAT_AVGLEVEL, AREASTAT_DESCS, AREASTAT_INDOORROOMS, AREASTAT_INTLEVEL, AREASTAT_MAXLEVEL, AREASTAT_MEDALIGN, AREASTAT_MEDLEVEL, AREASTAT_MINLEVEL, AREASTAT_NUMBER, AREASTAT_POPULATION, AREASTAT_TOTLEVEL, AREASTAT_VISITABLEROOMS, CLIMASK_COLD, CLIMASK_DRY, CLIMASK_HOT, CLIMASK_NORMAL, CLIMASK_WET, CLIMATE_DESCS, CLIMATE_WINDY, FLAG_INSTANCE_CHILD, FLAG_INSTANCE_PARENT, FLAG_THIN, NUM_CLIMATES, STATE_ACTIVE, STATE_FROZEN, STATE_PASSIVE, STATE_STOPPED, THEME_DESCS, THEME_FANTASY, THEME_HEROIC, THEME_PHRASE, THEME_PHRASE_EXT, THEME_SKILLONLYMASK, THEME_TECHNOLOGY, TIME_PASSIVE_LAPSE |
| Constructor Summary | |
|---|---|
StdPlanet()
|
|
| Method Summary | |
|---|---|
long |
accelleration()
Gets the current accelleration rate of the object, per tick |
long[] |
coordinates()
The current absolute coordinates of the object |
double[] |
direction()
The direction of travel of this object in radians. |
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 |
SpaceObject |
orbiting()
If this object is in orbit about another, what is that other |
void |
setAccelleration(long x)
Sets the current accelleration rate of the object, per tick |
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 |
setOrbiting(SpaceObject O)
Sets this object in orbit about another |
void |
setVelocity(long v)
Sets the velocify of the object through space |
long |
velocity()
The velocity of the object through space |
| Methods inherited from class com.planet_ink.coffee_mud.Areas.StdTimeZone |
|---|
addChild, copyOf, getTimeObj, initializeAreaLink |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
description, displayText, expirationDate, image, isGeneric, maxRange, minRange, miscTextFormat, name, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, text |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, 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, 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 |
| Field Detail |
|---|
public long[] coordinates
public double[] direction
public long velocity
public SpaceObject orbiting
| Constructor Detail |
|---|
public StdPlanet()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdTimeZonepublic long[] coordinates()
SpaceObject
coordinates in interface SpaceObjectpublic void setCoords(long[] coords)
SpaceObject
setCoords in interface SpaceObjectcoords - 2 dimensional array of the coordinates in spacepublic double[] direction()
SpaceObject
direction in interface SpaceObjectpublic void setDirection(double[] dir)
SpaceObject
setDirection in interface SpaceObjectdir - 2 dimensional array for the direction of movementpublic long velocity()
SpaceObject
velocity in interface SpaceObjectpublic void setVelocity(long v)
SpaceObject
setVelocity in interface SpaceObjectv - the velocitypublic long accelleration()
SpaceObject
accelleration in interface SpaceObjectpublic void setAccelleration(long x)
SpaceObject
setAccelleration in interface SpaceObjectx - current accelleration ratepublic void setName(java.lang.String newName)
Environmental
setName in interface EnvironmentalsetName in class StdTimeZonenewName - the raw base name of this object on the map.Environmental.Name()public SpaceObject knownTarget()
SpaceObject
knownTarget in interface SpaceObjectpublic void setKnownTarget(SpaceObject O)
SpaceObject
setKnownTarget in interface SpaceObjectO - the target destinationpublic SpaceObject knownSource()
SpaceObject
knownSource in interface SpaceObjectpublic void setKnownSource(SpaceObject O)
SpaceObject
setKnownSource in interface SpaceObjectO - the source of this objectpublic SpaceObject orbiting()
SpaceObject
orbiting in interface SpaceObjectpublic void setOrbiting(SpaceObject O)
SpaceObject
setOrbiting in interface SpaceObjectO - the object about which this one is orbiting
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||