|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICompositeActor
A composite actor contains actors and runs them.
Field Summary |
---|
Fields inherited from interface de.unifreiburg.twodeedoo.view.ISchedulable |
---|
NULL_OBJECT |
Fields inherited from interface de.unifreiburg.twodeedoo.view.IKeyHandler |
---|
NULL_OBJECT |
Method Summary | |
---|---|
void |
addActor(IActor a)
Add an actor |
void |
removeActor(IActor a)
Remove that actor from the actors of this activity. |
Methods inherited from interface de.unifreiburg.twodeedoo.view.ISchedulable |
---|
run |
Methods inherited from interface de.unifreiburg.twodeedoo.view.IKeyHandler |
---|
keyPressed, keyReleased |
Method Detail |
---|
void addActor(IActor a)
a
- an actor that isn't yet in this ICompositeActor
.void removeActor(IActor a)
(But note that excessive use of this method is a design smell) This will also reset the container of the actor.
a
- an actor to remove. If not among my actors, I will do nothing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |