|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Behavable
Something that can behave -- means almost everything!
| Method Summary | |
|---|---|
void |
addBehavior(Behavior to)
Add a new behavior to this object. |
void |
addScript(ScriptingEngine s)
Add a new runnable script to this object. |
void |
delBehavior(Behavior to)
Delete a behavior from this object. |
void |
delScript(ScriptingEngine s)
Remove a running script from this object. |
Behavior |
fetchBehavior(int index)
Returns a behavior object on this object. |
Behavior |
fetchBehavior(java.lang.String ID)
Returns a behavior object listed on this object. |
ScriptingEngine |
fetchScript(int x)
Retreive one of the enumerated scripts running on this object |
int |
numBehaviors()
The number of behaviors this object has. |
int |
numScripts()
Return the number of scripts running on this object |
| Method Detail |
|---|
void addBehavior(Behavior to)
to - The behavior object to add.Behavior,
Affectable.recoverEnvStats()void delBehavior(Behavior to)
to - The behavior object to remove.Behavior,
Affectable.recoverEnvStats()int numBehaviors()
BehaviorBehavior fetchBehavior(int index)
index - which object to return
Behavior,
numBehaviors()Behavior fetchBehavior(java.lang.String ID)
Behavior,
CMObject.ID()void addScript(ScriptingEngine s)
s - the scripting engine, fully populated, to addScriptingEnginevoid delScript(ScriptingEngine s)
s - the specific scripting engine to removeScriptingEngineint numScripts()
ScriptingEngine fetchScript(int x)
x - which script to return
ScriptingEngine
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||