|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.StdAbility
com.planet_ink.coffee_mud.Abilities.Languages.StdLanguage
com.planet_ink.coffee_mud.Abilities.Languages.Encrypto
public class Encrypto
Field Summary | |
---|---|
protected int |
letterRot
|
protected int |
level
|
protected int |
wordRot
|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Languages.StdLanguage |
---|
alwaysSpoken, CANCEL_WORD, spoken |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.StdAbility |
---|
affected, amDestroyed, canBeUninvoked, empty, invoker, isAnAutoEffect, lastCastHelp, miscText, proficiency, savable, tickDown, unInvoked |
Constructor Summary | |
---|---|
Encrypto()
|
Method Summary | |
---|---|
int |
abilityCode()
Returns an optional numeric value whose purpose is entirely contextual. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
void |
setAbilityCode(int newCode)
Sets an optional numeric value whose purpose is entirely contextual. |
void |
setMiscText(java.lang.String newMiscText)
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
java.lang.String |
translate(java.lang.String language,
java.lang.String word)
Returns a language translation of the given word in the given language |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Languages.StdLanguage |
---|
abstractQuality, beingSpoken, canAffectCode, canBeLearnedBy, canBeUninvoked, canTargetCode, classificationCode, displayText, executeMsg, fixCase, fixCase, getAnyTranslator, getMyTranslator, getProficiency, getRawTrainingCost, invoke, isAutoInvoked, languagesSupported, messChars, numChars, okMessage, processNonSourceMessages, processSourceMessage, scrambleAll, setBeingSpoken, teach, translateChannelMessage, translateOthersMessage, translatesLanguage, translateTargetMessage, translationHash, translationLists, triggerStrings, tryLinguisticWriting, writtenName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.Ability |
---|
accountForYourself, adjustedLevel, affecting, appropriateToMyFactions, autoInvocation, bubbleAffect, canAffect, canAffect, canBePracticedBy, canBeTaughtBy, canTarget, canTarget, castingQuality, castingTime, checkedCastingCost, combatCastingTime, enchantQuality, externalFiles, flags, getTrainingCost, helpProficiency, invoke, invoker, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiency, proficiencyCheck, putInCommandlist, requirements, setAffectedOne, setInvoker, setProficiency, startTickDown, unInvoke, usageCost, usageType |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
---|
description, expirationDate, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setName, text |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
---|
getTickStatus, 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.Contingent |
---|
amDestroyed, destroy, isSavable, setSavable |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, 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 |
Field Detail |
---|
protected int letterRot
protected int wordRot
protected int level
Constructor Detail |
---|
public Encrypto()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdLanguage
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class StdLanguage
Environmental.Name()
public int abilityCode()
Ability
abilityCode
in interface Ability
abilityCode
in class StdAbility
public void setAbilityCode(int newCode)
Ability
setAbilityCode
in interface Ability
setAbilityCode
in class StdAbility
newCode
- the optional numeric value or enhancementpublic java.lang.String translate(java.lang.String language, java.lang.String word)
Language
translate
in interface Language
translate
in class StdLanguage
language
- the language to use (usually ID())word
- the word to translate
public void setMiscText(java.lang.String newMiscText)
Environmental
setMiscText
in interface Environmental
setMiscText
in class StdLanguage
newMiscText
- either an open internal text string, or XML
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |