Affectable, Behavable, java.lang.Cloneable, CMObject, java.lang.Comparable<CMObject>, Contingent, DBIdentifiable, Electronics, Environmental, Expireable, Item, Modifiable, MsgListener, Physical, PhysicalAgent, Readable, Rider, StatsAffecting, TechComponent, Technical, Tickable, WearableGenShipEngine, GenShipThruster, GenSpaceDrive, StdShipEngine, StdShipFuellessThruster, StdShipThrusterpublic interface ShipEngine extends TechComponent
Technical.TechCommand, Technical.TechTypeWearable.CODESidConverterDEFAULT_WORN_CODES, DEFAULT_WORN_DEPENDENCYGRID, DEFAULT_WORN_DESCS, DEFAULT_WORN_ORDER, DEFAULT_WORN_USUAL_NAMES, DEFAULT_WORN_WEIGHT_POINTS, DEFAULT_WORN_WEIGHTS, FILTER_ANY, FILTER_MOBINVONLY, FILTER_ROOMONLY, FILTER_UNWORNONLY, FILTER_WORNONLY, HIGHEST_WORN_CODE, IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_EARS, WORN_EYES, WORN_FEET, WORN_FLOATING_NEARBY, WORN_HANDS, WORN_HEAD, WORN_HELD, WORN_LEFT_FINGER, WORN_LEFT_WRIST, WORN_LEGS, WORN_MOUTH, WORN_NECK, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WIELD| Modifier and Type | Method | Description |
|---|---|---|
boolean |
consumeFuel(int amount) |
Forces this engine to consumer some amount of its
fuel, without any other effect.
|
ShipDirectional.ShipDir[] |
getAvailPorts() |
Gets set of available thrust ports on this engine.
|
double |
getFuelEfficiency() |
Gets the fuel efficiency pct, denoting how well the engine uses
fuel to product thrust.
|
int |
getMaxThrust() |
Gets the maximum amount of thrust that this engine can put out.
|
int |
getMinThrust() |
Gets the minimum amount of thrust that this engine can put out.
|
long |
getSpecificImpulse() |
Specific Impulse has to do with the efficiency of conversion of
fuel into thrust.
|
double |
getThrust() |
Gets the current amount of thrust being emitted by this ShipEngine,
typically only describing the AFT thrust, since all other thrust
is done in spurts.
|
boolean |
isReactionEngine() |
Gets whether this engine, once thrust is engaged, will continue
to thrust at that speed, thus accelerating.
|
void |
setAvailPorts(ShipDirectional.ShipDir[] ports) |
Sets set of available thrust ports on this engine.
|
void |
setFuelEfficiency(double amt) |
Sets the fuel efficiency pct, denoting how well the engine uses
fuel to product thrust.
|
void |
setMaxThrust(int max) |
Sets the maximum amount of thrust that this engine can put out.
|
void |
setMinThrust(int min) |
Sets the minimum amount of thrust that this engine can put out.
|
void |
setReactionEngine(boolean isConstant) |
Sets whether this engine, once thrust is engaged, will continue
to thrust at that speed, thus accelerating.
|
void |
setSpecificImpulse(long amt) |
Specific Impulse has to do with the efficiency of conversion of
fuel into thrust.
|
void |
setThrust(double aftThrust) |
Gets the current amount of thrust being emitted by this ShipEngine,
typically only describing the AFT thrust, since all other thrust
is done in spurts.
|
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scriptscopyOf, ID, initializeClass, newInstancecanSaveDatabaseID, databaseID, setDatabaseIDactivate, activated, powerCapacity, powerNeeds, powerRemaining, powerTarget, setPowerCapacity, setPowerRemaining, setPowerTargetbaseGoldValue, container, material, numberOfItems, owner, rawSecretIdentity, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setMaterial, setOwner, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, usesRemaining, valueisReadable, readableText, setReadable, setReadableTextgetInstalledFactor, getRechargeRate, isInstalled, setInstalledFactor, setRechargeRategetFinalManufacturer, getManufacturerName, getTechType, setManufacturerName, setTechLevel, techLevelamBeingWornProperly, amWearingAt, canWear, compareProperLocations, fitsOn, rawLogicalAnd, rawProperLocationBitmap, rawWornCode, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, unWear, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWearShipDirectional.ShipDir[] getAvailPorts()
setAvailPorts(com.planet_ink.coffee_mud.Items.interfaces.ShipDirectional.ShipDir[])void setAvailPorts(ShipDirectional.ShipDir[] ports)
ports - the set of available thrust ports.getAvailPorts()int getMaxThrust()
setMaxThrust(int)void setMaxThrust(int max)
max - the maximum amount of thrust that this engine can put out.getMaxThrust()int getMinThrust()
setMinThrust(int)void setMinThrust(int min)
min - the minimum amount of thrust that this engine can put out.getMinThrust()boolean isReactionEngine()
setReactionEngine(boolean)void setReactionEngine(boolean isConstant)
isConstant - true for an accelerator, false for one shotisReactionEngine()double getThrust()
setThrust(double)void setThrust(double aftThrust)
aftThrust - the current amount of aft thrustgetThrust()long getSpecificImpulse()
setSpecificImpulse(long)void setSpecificImpulse(long amt)
amt - efficiency of conversion of fuel into thrustgetSpecificImpulse()double getFuelEfficiency()
setFuelEfficiency(double)void setFuelEfficiency(double amt)
amt - the fuel efficiency pctgetFuelEfficiency()boolean consumeFuel(int amount)
amount - the amount of fuel to consume