public interface Mind
Modifier and Type | Interface and Description |
---|---|
static class |
Mind.MentalState |
Modifier and Type | Method and Description |
---|---|
void |
addThought(Thought thought) |
void |
awake() |
Bot |
getBot() |
Mind.MentalState |
getState()
Return the state of mind.
|
<T> T |
getThought(java.lang.Class<T> type) |
Thought |
getThought(java.lang.String name) |
java.util.Map<java.lang.String,Thought> |
getThoughts() |
void |
initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
Initialize any configuration properties.
|
boolean |
isActive()
Return if in an active state.
|
boolean |
isAsleep()
Return if in an sleep state.
|
boolean |
isBored()
Return if in an bored state.
|
boolean |
isConscious()
Return if in an conscious state.
|
void |
pool()
Reset state when instance is pooled.
|
void |
removeThought(Thought thought) |
void |
setBot(Bot Bot) |
void |
shutdown() |
void shutdown()
void awake()
void pool()
Mind.MentalState getState()
boolean isActive()
boolean isConscious()
boolean isAsleep()
boolean isBored()
java.util.Map<java.lang.String,Thought> getThoughts()
<T> T getThought(java.lang.Class<T> type)
Thought getThought(java.lang.String name)
void addThought(Thought thought)
void removeThought(Thought thought)
Bot getBot()
void setBot(Bot Bot)
void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)