Affectable, Behavable, CMObject, Contingent, DBIdentifiable, Environmental, Expireable, Modifiable, MsgListener, Physical, PhysicalAgent, Readable, Rider, StatsAffecting, Tickable, Item, Software, Technical, Wearable, java.lang.Cloneable, java.lang.Comparable<CMObject>ShipNavProgrampublic class ShipSensorProgram extends GenShipProgram
| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
ShipSensorProgram.DistanceSorter |
Software.SoftwareProcedure, Software.SWServicesTechnical.TechCommand, Technical.TechTypeWearable.CODES| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Set<TechComponent> |
activated |
|
protected Software.SoftwareProcedure |
sensorProcedure |
|
protected java.util.Map<Technical,java.util.Set<SpaceObject>> |
sensorReps |
idConverteractivateProcedure, activationCounter, cachedComponents, components, dampers, deactivateProcedure, DEFAULT_ACT_8_SEC_COUNTDOWN, engines, miscsystems, nextPowerCycleTmr, readableText, sensors, shields, weaponsintName, parent, settings_name, affectPhyStats, affects, baseGoldValue, basePhyStats, behaviors, cachedImageName, CODES, databaseID, description, destroyed, displayText, dispossessionTime, material, me, miscText, myContainer, myUses, myWornCode, owner, phyStats, properWornBitmap, rawImageName, riding, scripts, secretIdentity, tickCtr, tickStatus, wornLogicalAnd, xtraValuescachedManufact, circuitKey, currentScreen, isActivated, manufacturer, nextMsg, svcsDEFAULT_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| Constructor | Description |
|---|---|
ShipSensorProgram() |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
containsSameCoordinates(java.util.List<SpaceObject> objs,
long[] coordinates) |
|
protected void |
decache() |
|
void |
executeMsg(Environmental host,
CMMsg msg) |
The general message event handler for the object.
|
protected Software.SWServices[] |
getAppreciatedServices() |
|
protected java.lang.String |
getDataName(java.lang.String realName,
java.lang.String coords,
java.lang.String notName) |
|
protected java.util.Set<SpaceObject> |
getLocalSensorReport(TechComponent sensor) |
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
protected void |
onActivationTimer(int value) |
|
protected void |
onDeactivate(MOB mob,
java.lang.String message) |
|
protected void |
onPowerCurrent(int value) |
|
protected void |
onPowerTimer(int value) |
|
protected void |
provideService(Software.SWServices service,
Software S,
java.lang.String[] parms,
CMMsg msg) |
|
protected java.util.Collection<SpaceObject> |
takeNewSensorReport(TechComponent sensor) |
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scriptscopyOf, initializeClass, newInstancecanSaveDatabaseID, databaseID, setDatabaseIDcheckActivate, checkDeactivate, checkPowerCurrent, checkTyping, convertStringToCoords, findComponentByID, findComponentByName, findCoordinates, findEngineByName, findEngineByPort, findSensorByName, findShieldByName, findWeaponByName, getActivationMenu, getComponent, getDampeners, getEngines, getShipSensors, getShipShields, getShipWeapons, getSystemMiscComponents, getTechComponents, getTechType, isActivationString, isCommandString, isDeActivationString, isWeaponLauncher, onActivate, onTyping, sendMessage, trySendMsgToItemgetInternalName, getParentMenu, getSettings, getStat, getStatCodes, isGeneric, readableText, sameAs, setInternalName, setMiscText, setParentMenu, setReadableText, setSettings, setStat, textbaseGoldValue, container, material, numberOfItems, owner, rawSecretIdentity, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setMaterial, setOwner, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, usesRemaining, valueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisReadable, setReadableabilityImbuesMagic, addBehavior, addEffect, addNonUninvokableEffect, addScript, affectCharState, affectCharStats, affectPhyStats, alreadyWornMsg, amBeingWornProperly, amDestroyed, amWearingAt, baseGoldValue, basePhyStats, behaviors, canSaveDatabaseID, canWear, canWearComplete, cloneFix, compareProperLocations, compareTo, container, copyOf, databaseID, delAllBehaviors, delAllEffects, delAllScripts, delBehavior, delEffect, delScript, description, description, destroy, displayText, displayText, eachBehavior, eachEffect, eachScript, effects, expirationDate, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchScript, fitsOn, getSaveStatIndex, getTickStatus, I, image, initializeClass, isReadable, isSavable, isStat, L, material, maxRange, minRange, miscTextFormat, name, name, Name, newInstance, numBehaviors, numberOfItems, numEffects, numScripts, owner, phyStats, rawImage, rawLogicalAnd, rawProperLocationBitmap, rawSecretIdentity, rawWornCode, recoverPhyStats, recursiveWeight, removeFromOwnerContainer, riding, scripts, secretIdentity, setBasePhyStats, setBaseValue, setContainer, setDatabaseID, setDescription, setDisplayText, setExpirationDate, setImage, setMaterial, setName, setOwner, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, setReadable, setRiding, setSavable, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, tackOns, tick, ultimateContainer, unWear, usesRemaining, value, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWearaddScreenMessage, display, display, display, displayPerSec, doServiceRequests, doServiceTransaction, forceNewMenuRead, forceNewMessageScan, forceUpMenu, genericName, getCurrentScreenDisplay, getFinalManufacturer, getManufacturerName, getMyComputer, getPeerComputers, getPeerComputingRooms, getProvidedServices, getRequiredServices, getResponseComputers, getScreenMessage, handleServices, okMessage, sendServiceMsg, sendSoftwareRespMsg, setCircuitKey, setCurrentScreenDisplay, setManufacturerName, setTechLevel, techLevel, trimColorsAndTrimamBeingWornProperly, amWearingAt, canWear, compareProperLocations, fitsOn, rawLogicalAnd, rawProperLocationBitmap, rawWornCode, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, unWear, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWearprotected final java.util.Map<Technical,java.util.Set<SpaceObject>> sensorReps
protected final java.util.Set<TechComponent> activated
protected Software.SoftwareProcedure sensorProcedure
public java.lang.String ID()
CMObjectID in interface CMObjectID in class GenShipProgramprotected void decache()
decache in class GenShipProgramprotected void onDeactivate(MOB mob, java.lang.String message)
onDeactivate in class GenShipProgramprotected java.util.Set<SpaceObject> getLocalSensorReport(TechComponent sensor)
protected java.util.Collection<SpaceObject> takeNewSensorReport(TechComponent sensor)
protected boolean containsSameCoordinates(java.util.List<SpaceObject> objs, long[] coordinates)
protected void onPowerTimer(int value)
onPowerTimer in class GenShipProgramprotected void onActivationTimer(int value)
onActivationTimer in class GenShipProgramprotected void onPowerCurrent(int value)
onPowerCurrent in class GenShipProgramprotected Software.SWServices[] getAppreciatedServices()
getAppreciatedServices in class StdProgramprotected java.lang.String getDataName(java.lang.String realName,
java.lang.String coords,
java.lang.String notName)
public void executeMsg(Environmental host, CMMsg msg)
MsgListenerexecuteMsg in interface MsgListenerexecuteMsg in class GenShipProgramhost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsgprotected void provideService(Software.SWServices service, Software S, java.lang.String[] parms, CMMsg msg)
provideService in class StdProgram