|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.asd.data.ActorList
A typed list of actors
| Constructor Summary | |
ActorList()
Create the actor list |
|
| Method Summary | |
void |
addActor(Actor actor)
Add an actor to the list |
boolean |
contains(Actor actor)
Check if an specific actor is in the list |
Actor |
get(int i)
Get the actor a specific index |
void |
removeActor(Actor actor)
Remove an actor from the list |
int |
size()
Get the number of actors in the list |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ActorList()
| Method Detail |
public Actor get(int i)
i - The index of the actor to retrieve
public void addActor(Actor actor)
actor - The actor to add to the listpublic void removeActor(Actor actor)
actor - The actor to remove to the listpublic int size()
public boolean contains(Actor actor)
actor - The actor to check for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||