com.planet_ink.coffee_mud.Items.MiscTech
Class GenSSEngine

java.lang.Object
  extended by com.planet_ink.coffee_mud.Items.Basic.StdItem
      extended by com.planet_ink.coffee_mud.Items.MiscTech.StdElecItem
          extended by com.planet_ink.coffee_mud.Items.MiscTech.StdShipItem
              extended by com.planet_ink.coffee_mud.Items.MiscTech.StdShipComponent
                  extended by com.planet_ink.coffee_mud.Items.MiscTech.GenShipComponent
                      extended by com.planet_ink.coffee_mud.Items.MiscTech.GenSSEngine
All Implemented Interfaces:
Behavable, CMModifiable, CMObject, Environmental, MsgListener, Rider, StatsAffecting, Tickable, Electronics, Item, ShipComponent, ShipComponent.ShipEngine, java.lang.Cloneable, java.lang.Comparable<CMObject>

public class GenSSEngine
extends GenShipComponent
implements ShipComponent.ShipEngine


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Items.interfaces.ShipComponent
ShipComponent.ShipEngine, ShipComponent.ShipEnviroControl, ShipComponent.ShipPanel, ShipComponent.ShipPowerSource, ShipComponent.ShipSensor, ShipComponent.ShipWeapon
 
Field Summary
protected  int maxThrust
           
protected  int thrust
           
 
Fields inherited from class com.planet_ink.coffee_mud.Items.MiscTech.GenShipComponent
readableText
 
Fields inherited from class com.planet_ink.coffee_mud.Items.MiscTech.StdElecItem
activated, fuelType, power, powerCapacity
 
Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.StdItem
affects, baseEnvStats, baseGoldValue, behaviors, CODES, databaseID, description, destroyed, displayText, dispossessionTime, envStats, imageName, material, miscText, myContainer, myUses, myWornCode, name, owner, properWornBitmap, riding, scripts, secretIdentity, tickStatus, wornLogicalAnd, xtraValues
 
Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item
IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_CODES, WORN_DEPENDENCYGRID, WORN_DESCS, 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_ORDER, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WEIGHT_POINTS, WORN_WEIGHTS, WORN_WIELD, WORNREQ_ANY, WORNREQ_UNWORNONLY, WORNREQ_WORNONLY
 
Constructor Summary
GenSSEngine()
           
 
Method Summary
 int getMaxThrust()
           
 int getThrust()
           
 java.lang.String ID()
          The CoffeeMud Java Class ID shared by all instances of this object.
 boolean sameAs(Environmental E)
          Whether this object instance is functionally identical to the object passed in.
 void setMaxThrust(int max)
           
 void setThrust(int current)
           
 
Methods inherited from class com.planet_ink.coffee_mud.Items.MiscTech.GenShipComponent
getCodeNum, getStat, getStatCodes, isGeneric, readableText, setMiscText, setReadableText, setStat, text
 
Methods inherited from class com.planet_ink.coffee_mud.Items.MiscTech.StdElecItem
activate, activated, fuelType, powerCapacity, powerRemaining, setFuelType, setPowerCapacity, setPowerRemaining
 
Methods inherited from class com.planet_ink.coffee_mud.Items.Basic.StdItem
abilityImbuesMagic, addBehavior, addEffect, addNonUninvokableEffect, addScript, affectCharState, affectCharStats, affectEnvStats, alreadyWornMsg, amDestroyed, amWearingAt, baseEnvStats, baseGoldValue, canWear, canWearComplete, cloneEffects, cloneFix, compareProperLocations, compareTo, container, copyOf, databaseID, delBehavior, delEffect, delScript, description, destroy, displayText, envStats, executeMsg, expirationDate, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchScript, finalize, fitsOn, getSaveStatIndex, getTickStatus, image, initializeClass, isStat, material, maxRange, minRange, miscTextFormat, name, Name, newInstance, numBehaviors, numberOfItems, numEffects, numScripts, okMessage, owner, rawImage, rawLogicalAnd, rawProperLocationBitmap, rawSecretIdentity, rawWornCode, recoverEnvStats, recursiveWeight, removeFromOwnerContainer, riding, savable, secretIdentity, setBaseEnvStats, setBaseValue, setContainer, setDatabaseID, setDescription, setDisplayText, setExpirationDate, setImage, setMaterial, setName, setOwner, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, setRiding, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, tackOns, tick, ultimateContainer, unWear, usesRemaining, value, wearAt, wearEvenIfImpossible, wearIfPossible, whereCantWear
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item
amWearingAt, baseGoldValue, canWear, compareProperLocations, container, databaseID, fitsOn, material, numberOfItems, owner, rawLogicalAnd, rawProperLocationBitmap, rawSecretIdentity, rawWornCode, readableText, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setDatabaseID, setMaterial, setOwner, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, setReadableText, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, unWear, usesRemaining, value, wearAt, wearEvenIfImpossible, wearIfPossible, whereCantWear
 
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Rider
riding, setRiding
 
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Electronics
activate, activated, fuelType, powerCapacity, powerRemaining, setFuelType, setPowerCapacity, setPowerRemaining
 

Field Detail

maxThrust

protected int maxThrust

thrust

protected int thrust
Constructor Detail

GenSSEngine

public GenSSEngine()
Method Detail

ID

public java.lang.String ID()
Description copied from interface: CMObject
The CoffeeMud Java Class ID shared by all instances of this object. Unlike the Java Class name, this method does not include package information. However, it must return a String value unique to its class category in the ClassLoader. Class categories include Libraries, Common, Areas, Abilities, Behaviors, CharClasses, Commands, Exits Locales, MOBS, Races, WebMacros, Basic Items, Armor, Weapons, ClanItems, MiscTech. The name is typically identical to the class name.

Specified by:
ID in interface CMObject
Overrides:
ID in class GenShipComponent
Returns:
the name of this class

sameAs

public boolean sameAs(Environmental E)
Description copied from interface: Environmental
Whether this object instance is functionally identical to the object passed in. Works by repeatedly calling getStat on both objects and comparing the values.

Specified by:
sameAs in interface Environmental
Overrides:
sameAs in class GenShipComponent
Parameters:
E - the object to compare this one to
Returns:
whether this object is the same as the one passed in
See Also:
CMModifiable.getStatCodes(), CMModifiable.getStat(String)

getMaxThrust

public int getMaxThrust()
Specified by:
getMaxThrust in interface ShipComponent.ShipEngine

setMaxThrust

public void setMaxThrust(int max)
Specified by:
setMaxThrust in interface ShipComponent.ShipEngine

getThrust

public int getThrust()
Specified by:
getThrust in interface ShipComponent.ShipEngine

setThrust

public void setThrust(int current)
Specified by:
setThrust in interface ShipComponent.ShipEngine