Boardable
, BoundedObject
, java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, Modifiable
, MsgListener
, SpaceObject
, StatsAffecting
, Tickable
GenSpaceShip
, StdSpaceShip
public interface SpaceShip extends SpaceObject, Boardable
Modifier and Type | Interface | Description |
---|---|---|
static class |
SpaceShip.ShipFlag |
BoundedObject.BoundedCube
SpaceObject.Distance, SpaceObject.SpaceGateway
NAME_REPL_MARKERS, NAME_REPL_STRINGS
idConverter
ACCELERATION_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
STATUS_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 |
---|---|---|
double[] |
facing() |
The direction of facing of this object in radians.
|
double |
getOMLCoeff() |
The Outer Mold Line coefficient -- how streamlined are you?
|
boolean |
getShipFlag(SpaceShip.ShipFlag flag) |
Gets one of the ship flags
|
SpaceObject |
getShipSpaceObject() |
Space ships are unique in having an Item stand-in for planet-side access,
as well as an Area object.
|
void |
registerListener(Technical.TechCommand command,
MsgListener listener) |
Register a global ship listener.
|
double |
roll() |
The full 360 orientation of the top of the object in radians.
|
void |
setFacing(double[] dir) |
Sets the direction of facing of this object in radians.
|
void |
setOMLCoeff(double coeff) |
Set the Outer Mold Line coefficient -- how streamlined are you?
|
void |
setRoll(double dir) |
Sets the full 360 orientation of the top of the object in radians.
|
void |
setShipFlag(SpaceShip.ShipFlag flag,
boolean flagValue) |
Sets one of the ship flags
|
void |
unregisterListener(Technical.TechCommand command,
MsgListener listener) |
Register a global ship listener.
|
dockHere, getArea, getBoardableItem, getHomePortID, getIsDocked, rename, securityCheck, setArea, setDockableItem, setHomePortID, unDock
getBounds
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
description, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
coordinates, direction, getMass, knownSource, knownTarget, radius, setCoords, setDirection, setKnownSource, setKnownTarget, setRadius, setSpeed, speed
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
void setShipFlag(SpaceShip.ShipFlag flag, boolean flagValue)
flag
- the flag to set or clearflagValue
- the flag valueSpaceShip.ShipFlag
,
getShipFlag(ShipFlag)
boolean getShipFlag(SpaceShip.ShipFlag flag)
flag
- the flag to set or clearSpaceShip.ShipFlag
,
setShipFlag(ShipFlag, boolean)
SpaceObject getShipSpaceObject()
double getOMLCoeff()
void setOMLCoeff(double coeff)
coeff
- the Outer Mold Line coefficientdouble[] facing()
void setFacing(double[] dir)
dir
- 2 dimensional array for the direction of facingdouble roll()
void setRoll(double dir)
dir
- radian for the direction of orientationvoid registerListener(Technical.TechCommand command, MsgListener listener)
command
- command which should be listened forlistener
- the listenerunregisterListener(TechCommand, MsgListener)
void unregisterListener(Technical.TechCommand command, MsgListener listener)
command
- command which should be listened forlistener
- the listenerregisterListener(TechCommand, MsgListener)