org.pandora.avatar
Class ImageAvatar

java.lang.Object
  extended by org.pandora.avatar.BasicAvatar
      extended by org.pandora.avatar.ImageAvatar
All Implemented Interfaces:
Avatar

public class ImageAvatar
extends BasicAvatar

Controls and manages the thought processing.


Constructor Summary
ImageAvatar()
           
 
Method Summary
 void awake()
           
 void emote(EmotionalState state)
          Output the emotional state to the Avatar.
 java.awt.Image getCurrentImage()
           
 java.util.Map<java.lang.String,java.awt.Image> getImages()
           
 void setCurrentImage(java.awt.Image currentImage)
           
 void setImages(java.util.Map<java.lang.String,java.awt.Image> images)
           
 
Methods inherited from class org.pandora.avatar.BasicAvatar
evaluate, getPandora, initialize, log, log, setPandora, shutdown, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageAvatar

public ImageAvatar()
Method Detail

awake

public void awake()
Specified by:
awake in interface Avatar
Overrides:
awake in class BasicAvatar

emote

public void emote(EmotionalState state)
Output the emotional state to the Avatar.

Overrides:
emote in class BasicAvatar

getCurrentImage

public java.awt.Image getCurrentImage()
Specified by:
getCurrentImage in interface Avatar
Overrides:
getCurrentImage in class BasicAvatar

setCurrentImage

public void setCurrentImage(java.awt.Image currentImage)

getImages

public java.util.Map<java.lang.String,java.awt.Image> getImages()

setImages

public void setImages(java.util.Map<java.lang.String,java.awt.Image> images)