app.quickstart.animal
Class ChameleonRed

java.lang.Object
  extended byaa.core.Actor
      extended byapp.quickstart.animal.ChameleonRed
All Implemented Interfaces:
java.io.Serializable

public class ChameleonRed
extends Actor

This class describes an actor who can change its behavior.

History

Version:
$Date: 2008/01/01 00:24:03 $ $Revision: 1.1 $
Author:
Myeong-Wuk Jang
See Also:
Serialized Form

Field Summary
 
Fields inherited from class aa.core.Actor
m_athread
 
Constructor Summary
ChameleonRed()
           
 
Method Summary
 void change()
          Changes the behavior of this actor.
 void color()
          Prints the current state.
 
Methods inherited from class aa.core.Actor
become, become, become, become, become, become, become, become, become, become, become, becomeActor, call, call, call, call, call, call, call, call, call, call, call, callMessage, create, create, create, create, create, create, create, create, create, create, create, createActor, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemote, createRemoteActor, destroy, echo, getActorName, getDefaultDirectoryManager, getDefaultDirectoryManager, getLastErrorMessage, migrate, print, printLastErrorMessage, println, send, send, send, send, send, send, send, send, send, send, send, sendMessage, setErrorMessage, uninit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChameleonRed

public ChameleonRed()
Method Detail

change

public void change()
Changes the behavior of this actor.


color

public void color()
Prints the current state.