public class BasicAvatar extends java.lang.Object implements Avatar
Type | Property and Description |
---|---|
java.lang.Long |
clearAvatar |
Constructor and Description |
---|
BasicAvatar() |
Modifier and Type | Method and Description |
---|---|
void |
awake() |
java.lang.Long |
clearAvatarProperty() |
void |
emote(EmotionalState state,
Network memory)
Output the emotional state to the Avatar.
|
void |
evaluateOutput(Vertex output)
Evaluate the output for emotional expression.
|
void |
evaluateResponse(Vertex output,
Vertex response,
Vertex meta,
java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluate the input response for actions and poses.
|
java.lang.String |
getAction() |
Bot |
getBot()
Return Bot.
|
java.lang.String |
getCommand() |
BinaryData |
getCurrentImage() |
java.lang.String |
getEmote() |
java.lang.String |
getPose() |
Primitive |
getPrimitive() |
void |
initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
Initialize any configurable settings from the properties.
|
void |
log(java.lang.String message,
java.util.logging.Level level,
java.lang.Object... arguments)
Log the message if the debug level is greater or equal to the level.
|
void |
log(java.lang.Throwable exception)
Log the exception.
|
void |
pool() |
void |
reset() |
void |
setAction(java.lang.String action) |
Vertex |
setAction(Vertex source,
Vertex action)
Self API to set avatar action.
|
void |
setBot(Bot bot)
Set Bot.
|
void |
setCommand(java.lang.String command) |
Vertex |
setCommand(Vertex source,
Vertex command)
Self API to set avatar command.
|
void |
setEmote(java.lang.String emote) |
void |
setPose(java.lang.String pose) |
Vertex |
setPose(Vertex source,
Vertex pose)
Self API to set avatar pose.
|
void |
shutdown() |
java.lang.String |
toString()
Print a useful string representation of the avatar.
|
public java.lang.String getCommand()
getCommand
in interface Avatar
public void setCommand(java.lang.String command)
setCommand
in interface Avatar
public void setAction(java.lang.String action)
public void log(java.lang.String message, java.util.logging.Level level, java.lang.Object... arguments)
public void log(java.lang.Throwable exception)
public Primitive getPrimitive()
getPrimitive
in interface Avatar
public void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
initialize
in interface Avatar
public void evaluateOutput(Vertex output)
evaluateOutput
in interface Avatar
public void evaluateResponse(Vertex output, Vertex response, Vertex meta, java.util.Map<Vertex,Vertex> variables, Network network)
evaluateResponse
in interface Avatar
public java.lang.Long clearAvatarProperty()
public void emote(EmotionalState state, Network memory)
public BinaryData getCurrentImage()
getCurrentImage
in interface Avatar
public java.lang.String toString()
toString
in class java.lang.Object