|
|||||||||
| 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.StdThinArea
com.planet_ink.coffee_mud.Areas.StdThinPlanet
public class StdThinPlanet
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.SpaceObject |
|---|
SpaceObject.Distance |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.BoundedObject |
|---|
BoundedObject.BoundedCube |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Areas.interfaces.Area |
|---|
Area.AreaInstanceChild, Area.CompleteRoomEnumerator, Area.RoomComparator, Area.RoomIDComparator, Area.RoomIDEnumerator, Area.State, Area.Stats |
| Field Summary | |
|---|---|
protected long[] |
coordinates
|
protected double[] |
direction
|
protected long |
radius
|
| Fields inherited from class com.planet_ink.coffee_mud.Areas.StdArea |
|---|
affects, amDestroyed, archPath, atmosphere, author, basePhyStats, behaviors, blurbFlags, budget, children, climask, climateObj, currency, derivedAtmo, derivedClimate, derivedTheme, description, devalueRate, empty, emptyStats, expirationDate, flag, ignoreMask, imageName, invResetRate, itemPricingAdjustments, lastPlayerTime, me, metroRoomIDSet, miscText, myClock, name, parents, phyStats, playerLevel, prejudiceFactors, properRoomIDSet, properRooms, scripts, STDAREACODES, subOps, theme, tickStatus, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.Areas.interfaces.Area |
|---|
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_TECHNOLOGY, TIME_PASSIVE_LAPSE |
| Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.Places |
|---|
ALL_CLIMATE_MASK, ATMOSPHERE_INHERIT, CLIMASK_COLD, CLIMASK_DRY, CLIMASK_HOT, CLIMASK_INHERIT, CLIMASK_NORMAL, CLIMASK_WET, CLIMASK_WINDY, CLIMATE_DESCS, NUM_CLIMATES |
| Constructor Summary | |
|---|---|
StdThinPlanet()
|
|
| Method Summary | |
|---|---|
void |
addChild(Area area)
Designates the given Area object as a Child of this one. |
long[] |
coordinates()
The current absolute coordinates of the object |
CMObject |
copyOf()
Similar to Cloneable.clone(), but does its best to make sure that any internal objects to this class are also copyOfed. |
double[] |
direction()
The direction of travel of this object in radians. |
BoundedObject.BoundedCube |
getBounds()
|
long |
getMass()
Returns the mass of this object, derived from its radius and type, or perhaps from other things. |
TimeClock |
getTimeObj()
Returns a reference to the TimeClock object that represents the calendar and date/time for this area. |
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 |
double |
speed()
The speed of the object through space |
| Methods inherited from class com.planet_ink.coffee_mud.Areas.StdThinArea |
|---|
addProperRoom, flags, getAreaIStats, getCompleteMap, getMetroMap, getPercentRoomsCached, getProperMap, getProperRoom, getRoom, isRoom, isRoom |
| 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, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, 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 |
|---|
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 |
|---|
protected long[] coordinates
protected double[] direction
protected long radius
| Constructor Detail |
|---|
public StdThinPlanet()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdThinAreapublic CMObject copyOf()
CMObject
copyOf in interface CMObjectcopyOf in class StdAreapublic TimeClock getTimeObj()
Area
getTimeObj in interface AreagetTimeObj in class StdAreaTimeClockpublic long getMass()
SpaceObject
getMass in interface SpaceObjectpublic void addChild(Area area)
Area
addChild in interface AreaaddChild in class StdAreaarea - an Area objectpublic long[] coordinates()
SpaceObject
coordinates in interface SpaceObjectpublic void setCoords(long[] coords)
SpaceObject
setCoords in interface SpaceObjectcoords - 3 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 double speed()
SpaceObject
speed in interface SpaceObjectpublic void setSpeed(double v)
SpaceObject
setSpeed in interface SpaceObjectv - the speedpublic long radius()
SpaceObject
radius in interface SpaceObjectpublic void setRadius(long radius)
SpaceObject
setRadius in interface SpaceObjectradius - the current radius of the objectpublic void setName(java.lang.String newName)
Environmental
setName in interface EnvironmentalsetName in class StdAreanewName - 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 BoundedObject.BoundedCube getBounds()
getBounds in interface BoundedObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||