|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PaP.ActorManager
Manages active Actors within a PaP domain controlled by one Director. Director has one instance of it.
Field Summary | |
private java.util.Hashtable |
htActorInstances
Active actors this object manages |
Constructor Summary | |
ActorManager()
Initializes data fields. |
Method Summary | |
Actor |
actorGet(GAI keyGAI)
Get actors from this manager. |
int |
actorPut(Actor actor)
Saves actors in this manager. |
Actor |
actorRemove(java.lang.String key)
Removes actors from this manager. |
boolean |
empty()
Simple utility to determine if there are active actors. |
Item |
listActors()
Lists all actors this manager holds for debug purposes. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.Hashtable htActorInstances
Constructor Detail |
public ActorManager()
pBF
- BaseFrame for this managerMethod Detail |
public boolean empty()
public int actorPut(Actor actor)
actor
- The actor to be saved.public Actor actorRemove(java.lang.String key)
key
- GAI string of the actor to be removed.public Actor actorGet(GAI keyGAI)
keyGAI
- GAI value of the actor to be found.public Item listActors()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |