|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SpaceShip
A Space Ship, which is a space object that's dockable and can change direction.
| Nested Class Summary | |
|---|---|
static class |
SpaceShip.ShipFlag
|
| 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 |
| Field Summary |
|---|
| Method Summary | |
|---|---|
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. |
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 |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.SpaceObject |
|---|
coordinates, direction, getMass, knownSource, knownTarget, radius, setCoords, setDirection, setKnownSource, setKnownTarget, setRadius, setSpeed, speed |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.BoundedObject |
|---|
getBounds |
| Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.BoardableShip |
|---|
dockHere, getHomePortID, getIsDocked, getShipArea, getShipItem, renameShip, setDockableItem, setHomePortID, setShipArea, unDock |
| 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, setName, 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 |
|---|
copyOf, ID, 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 |
| Method Detail |
|---|
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 clear
SpaceShip.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 orientation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||