|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.geom.hanim.HumanoidManager
public class HumanoidManager
Utility class for managing a collection of HAnimHumanoids in a scene.
The class just provides a single place for all the humanoids to be kept and updated as a single call, rather than having to do your own structure. There's nothing special about this class - just a collection of arrays and methods to do the updates.
Constructor Summary | |
---|---|
HumanoidManager()
Create a new, empty, instance of the manager. |
Method Summary | |
---|---|
void |
addHumanoid(HAnimHumanoid human)
Add a humanoid to the list to manage. |
void |
clear()
Clear all the humanoids currently being managed. |
void |
removeHumanoid(HAnimHumanoid human)
Remove a humanoid from the managed list. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the object so that any errors generated by the object can be reported in a nice, pretty fashion. |
void |
updateAll()
Update all the humanoids now. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HumanoidManager()
Method Detail |
---|
public void setErrorReporter(ErrorReporter reporter)
reporter
- The instance to use or nullpublic void addHumanoid(HAnimHumanoid human)
human
- The humanoid instance to addpublic void removeHumanoid(HAnimHumanoid human)
human
- The humanoid instance to removepublic void updateAll()
public void clear()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |