BoundedObject, java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, Environmental, Expireable, Modifiable, MsgListener, StatsAffecting, TickableSpaceObject.SpaceGateway, SpaceShipAsteroid, DwarfStar, GasGiant, GenSmartTorpedo, GenSpaceBody, GenSpaceShip, GenSpaceTech, GenTorpedo, GenWormhole, MassiveStar, Moon, Moonlet, Planet, Star, StdPlanet, StdSmartTorpedo, StdSpaceBody, StdSpaceShip, StdSpaceTech, StdSpaceTechWeapon, StdThinPlanet, StdTorpedo, StdWormholepublic interface SpaceObject extends Environmental, BoundedObject
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
SpaceObject.Distance |
Some distance constants.
|
static interface |
SpaceObject.SpaceGateway |
A GateWay is a type of space object that connects to another
space object as a gateway or wormhole.
|
BoundedObject.BoundedCube| Modifier and Type | Field | Description |
|---|---|---|
static long |
ACCELERATION_DAMAGED |
acceleration at which you are severely damaged (40" fall), in decameters/s
|
static long |
ACCELERATION_G |
acceleration at which you are happy, in decameters/s
|
static long |
ACCELERATION_INSTANTDEATH |
acceleration at which you are devestated, in decameters/s
|
static long |
ACCELERATION_ROLLARCOASTER |
acceleration at which you pass out, in decameters/s
|
static long |
ACCELERATION_TYPICALROCKET |
acceleration in atmosphere, in decameters/s
|
static long |
ACCELERATION_TYPICALSPACEROCKET |
acceleration in space, in decameters/s
|
static long |
ACCELERATION_UNCONSCIOUSNESS |
acceleration at which you are unconscious, in decameters/s
|
static long |
ASTEROID_MASS |
normal total mass of a normal total asteroid of a normal total radius
|
static double |
ATMOSPHERIC_DRAG_BRICK |
drag coefficient of a brick body
|
static double |
ATMOSPHERIC_DRAG_STREAMLINE |
drag coefficient of a streamlined body
|
static SpaceObject.Distance[] |
DISTANCES |
Ordered array of distance enums appropriate for telling distances in space.
|
static long |
MOONLET_MASS |
normal total mass of a normal total moonlet of a normal total radius
|
static double |
MULTIPLIER_GRAVITY_EFFECT_RADIUS |
multiplying by radius -- this one to find the gravitational pull radius
|
static double |
MULTIPLIER_ORBITING_RADIUS_MAX |
constant useful for multiplying by radius -- this one to find the orbiting radius
|
static double |
MULTIPLIER_ORBITING_RADIUS_MIN |
constant useful for multiplying by radius -- this one to find the orbiting radius
|
static long |
MULTIPLIER_PLANET_MASS |
multiplier by radius to get planets mass -- only off by 15 zeroes or so 9333072865794100410 is the actual number
|
static long |
MULTIPLIER_STAR_MASS |
multiplier by radius to get stars mass -- only off by 15 zeroes or so 19890000000000000000000000 is the actual number
|
static long |
VELOCITY_ESCAPE |
|
static long |
VELOCITY_LIGHT |
velocity constant for the speed of light, numbers are in dm/s
|
static long |
VELOCITY_ORBITING |
velocity constant for the speed of orbiting
|
static long |
VELOCITY_SOUND |
velocity constant for the speed of sound
|
static long |
VELOCITY_SUBLIGHT |
velocity constant for the speed of sublight
|
static long |
VELOCITY_TRANSWARP1 |
velocity constant for the speed transwarp 1
|
static long |
VELOCITY_TRANSWARP10 |
velocity constant for the speed transwarp 10
|
static long |
VELOCITY_TRANSWARP2 |
velocity constant for the speed transwarp 2
|
static long |
VELOCITY_TRANSWARP3 |
velocity constant for the speed transwarp 3
|
static long |
VELOCITY_TRANSWARP4 |
velocity constant for the speed transwarp 4
|
static long |
VELOCITY_TRANSWARP5 |
velocity constant for the speed transwarp 5
|
static long |
VELOCITY_TRANSWARP6 |
velocity constant for the speed transwarp 6
|
static long |
VELOCITY_TRANSWARP7 |
velocity constant for the speed transwarp 7
|
static long |
VELOCITY_TRANSWARP8 |
velocity constant for the speed transwarp 8
|
static long |
VELOCITY_TRANSWARP9 |
velocity constant for the speed transwarp 9
|
static long |
VELOCITY_WARP1 |
velocity constant for the speed warp 1
|
static long |
VELOCITY_WARP10 |
velocity constant for the speed warp 10
|
static long |
VELOCITY_WARP2 |
velocity constant for the speed warp 2
|
static long |
VELOCITY_WARP3 |
velocity constant for the speed warp 3
|
static long |
VELOCITY_WARP4 |
velocity constant for the speed warp 4
|
static long |
VELOCITY_WARP5 |
velocity constant for the speed warp 5
|
static long |
VELOCITY_WARP6 |
velocity constant for the speed warp 6
|
static long |
VELOCITY_WARP7 |
velocity constant for the speed warp 7
|
static long |
VELOCITY_WARP8 |
velocity constant for the speed warp 8
|
static long |
VELOCITY_WARP9 |
velocity constant for the speed warp 9
|
idConverterSTATUS_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 |
|---|---|---|
long[] |
coordinates() |
The current absolute coordinates of the object
|
double[] |
direction() |
The direction of travel of this object in radians.
|
long |
getMass() |
Returns the mass of this object, derived from its
radius and type, or perhaps from other things.
|
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 |
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
|
getBoundscopyOf, ID, initializeClass, newInstanceamDestroyed, destroy, isSavable, setSavabledescription, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, textexpirationDate, setExpirationDategetSaveStatIndex, getStat, getStatCodes, isStat, setStatexecuteMsg, okMessageaffectCharState, affectCharStats, affectPhyStatsgetTickStatus, name, tickstatic final SpaceObject.Distance[] DISTANCES
static final double MULTIPLIER_ORBITING_RADIUS_MIN
static final double MULTIPLIER_ORBITING_RADIUS_MAX
static final double MULTIPLIER_GRAVITY_EFFECT_RADIUS
static final long MULTIPLIER_PLANET_MASS
static final long MULTIPLIER_STAR_MASS
static final long MOONLET_MASS
static final long ASTEROID_MASS
static final long ACCELERATION_G
static final long ACCELERATION_ROLLARCOASTER
static final long ACCELERATION_TYPICALROCKET
static final long ACCELERATION_TYPICALSPACEROCKET
static final long ACCELERATION_UNCONSCIOUSNESS
static final long ACCELERATION_DAMAGED
static final long ACCELERATION_INSTANTDEATH
static final double ATMOSPHERIC_DRAG_STREAMLINE
static final double ATMOSPHERIC_DRAG_BRICK
static final long VELOCITY_LIGHT
static final long VELOCITY_SUBLIGHT
static final long VELOCITY_SOUND
static final long VELOCITY_ORBITING
static final long VELOCITY_ESCAPE
static final long VELOCITY_WARP1
static final long VELOCITY_WARP2
static final long VELOCITY_WARP3
static final long VELOCITY_WARP4
static final long VELOCITY_WARP5
static final long VELOCITY_WARP6
static final long VELOCITY_WARP7
static final long VELOCITY_WARP8
static final long VELOCITY_WARP9
static final long VELOCITY_WARP10
static final long VELOCITY_TRANSWARP1
static final long VELOCITY_TRANSWARP2
static final long VELOCITY_TRANSWARP3
static final long VELOCITY_TRANSWARP4
static final long VELOCITY_TRANSWARP5
static final long VELOCITY_TRANSWARP6
static final long VELOCITY_TRANSWARP7
static final long VELOCITY_TRANSWARP8
static final long VELOCITY_TRANSWARP9
static final long VELOCITY_TRANSWARP10
long[] coordinates()
void setCoords(long[] coords)
coords - 3 dimensional array of the coordinates in spacelong radius()
void setRadius(long radius)
radius - the current radius of the objectdouble[] direction()
void setDirection(double[] dir)
dir - 2 dimensional array for the direction of movementdouble speed()
void setSpeed(double v)
v - the speedSpaceObject knownTarget()
void setKnownTarget(SpaceObject O)
O - the target destinationSpaceObject knownSource()
void setKnownSource(SpaceObject O)
O - the source of this objectlong getMass()