unc.cdva.graphics.animations
Class PathwayHandler

java.lang.Object
  extended by unc.cdva.graphics.animations.TextureAnimationHandler
      extended by unc.cdva.graphics.animations.PathwayHandler

public class PathwayHandler
extends TextureAnimationHandler

Loads the texture for the pathway handler, and allows access to it.

Author:
Guillaume Conte

Field Summary
 
Fields inherited from class unc.cdva.graphics.animations.TextureAnimationHandler
textures
 
Constructor Summary
PathwayHandler(java.lang.String texturePath)
           
 
Method Summary
 com.sun.opengl.util.texture.Texture handle(int state)
          Returns a texture corresponding to the objects state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathwayHandler

public PathwayHandler(java.lang.String texturePath)
See Also:
TextureAnimationHandler.TextureAnimationHandler(String, int)
Method Detail

handle

public com.sun.opengl.util.texture.Texture handle(int state)
Description copied from class: TextureAnimationHandler
Returns a texture corresponding to the objects state.

Specified by:
handle in class TextureAnimationHandler
Parameters:
state - The objects state which we are interested in.
Returns:
A texture corresponding to the state indicated by the state parameter.
See Also:
TextureAnimationHandler.handle(int)