org.jagatoo.loaders.models.collada.datastructs.animation
Class SkeletonIterator

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.datastructs.animation.SkeletonIterator
All Implemented Interfaces:
java.util.Iterator<Bone>

public class SkeletonIterator
extends java.lang.Object
implements java.util.Iterator<Bone>

Iterator for an easy management of a Skeleton's Bones.


Constructor Summary
SkeletonIterator(Skeleton skeleton)
          Creates an iterator for the bones of the skeleton
 
Method Summary
 boolean hasNext()
          
 Bone next()
          
 void remove()
          
 void reset()
          Reset the iterator to it's initial position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkeletonIterator

public SkeletonIterator(Skeleton skeleton)
Creates an iterator for the bones of the skeleton

Parameters:
skeleton -
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface java.util.Iterator<Bone>

next

public Bone next()

Specified by:
next in interface java.util.Iterator<Bone>

remove

public void remove()

Specified by:
remove in interface java.util.Iterator<Bone>

reset

public void reset()
Reset the iterator to it's initial position