org.pandora.api.thought
Interface Mind

All Known Implementing Classes:
BasicMind

public interface Mind

Controls and manages the thought processing.


Nested Class Summary
static class Mind.MentalState
           
 
Method Summary
 void addThought(Thought thought)
           
 void awake()
           
 Pandora getPandora()
           
 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 removeThought(Thought thought)
           
 void setPandora(Pandora pandora)
           
 void shutdown()
           
 

Method Detail

shutdown

void shutdown()

awake

void awake()

getState

Mind.MentalState getState()
Return the state of mind.


isActive

boolean isActive()
Return if in an active state.


isConscious

boolean isConscious()
Return if in an conscious state.


isAsleep

boolean isAsleep()
Return if in an sleep state.


isBored

boolean isBored()
Return if in an bored state.


getThoughts

java.util.Map<java.lang.String,Thought> getThoughts()

getThought

<T> T getThought(java.lang.Class<T> type)

getThought

Thought getThought(java.lang.String name)

addThought

void addThought(Thought thought)

removeThought

void removeThought(Thought thought)

getPandora

Pandora getPandora()

setPandora

void setPandora(Pandora pandora)

initialize

void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
Initialize any configuration properties.