|
|||||||||
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.AnimalSpeak
public class AnimalSpeak
Field Summary | |
---|---|
static java.util.List<java.lang.String[]> |
wordLists
|
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 | |
---|---|
AnimalSpeak()
|
Method Summary | |
---|---|
void |
affectPhyStats(Physical affected,
PhyStats stats)
This method is called by the recoverPhyStats() method on other Environmental objects. |
protected java.lang.String[] |
getSounds()
|
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 |
java.lang.String |
translate(java.lang.String language,
java.lang.String word)
Returns a language translation of the given word in the given language |
java.util.List<java.lang.String[]> |
translationLists(java.lang.String language)
Returns the word-length rough-translation vector of string arrays for the given language The first string array in the vector represents 1 letter words, the second 2, and so forth. |
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, setMiscText, teach, translateChannelMessage, translateOthersMessage, translatesLanguage, translateTargetMessage, translationHash, 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 |
---|
abilityCode, 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, setAbilityCode, 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 |
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 |
---|
public static java.util.List<java.lang.String[]> wordLists
Constructor Detail |
---|
public AnimalSpeak()
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()
protected java.lang.String[] getSounds()
public java.util.List<java.lang.String[]> translationLists(java.lang.String language)
Language
translationLists
in interface Language
translationLists
in class StdLanguage
language
- the language to return the vector for (usually ID())
public void affectPhyStats(Physical affected, PhyStats stats)
StatsAffecting
affectPhyStats
in interface StatsAffecting
affectPhyStats
in class StdAbility
affected
- the host of the PhyStats object being affectedstats
- the particular PhyStats object being affectedPhyStats
,
Environmental
,
Affectable.basePhyStats()
,
Affectable.phyStats()
,
Affectable.recoverPhyStats()
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |