org.pandora.api.emotion
Interface Emotion

All Known Implementing Classes:
AbstractEmotion, Anger, Fear, Happiness, Humor, Love, Surprise

public interface Emotion

Defines a emotion. An emotion is a state defined by a magnitude that affects behavior.


Method Summary
 EmotionalState evaluate(float level)
           
 java.lang.String getName()
           
 float getState()
           
 void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
          Initialize any configuration properties.
 Primitive primitive()
           
 void setState(float state)
           
 

Method Detail

getState

float getState()

setState

void setState(float state)

primitive

Primitive primitive()

getName

java.lang.String getName()

evaluate

EmotionalState evaluate(float level)

initialize

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