org.deken.game.sound.audio.clipAudioFilter
Class ClipAudioFilter

java.lang.Object
  extended by org.deken.game.sound.audio.clipAudioFilter.ClipAudioFilter
All Implemented Interfaces:
Updateable
Direct Known Subclasses:
DistanceClipFilter

public abstract class ClipAudioFilter
extends java.lang.Object
implements Updateable

Title: ClipAudioFilter

Description: ClipAudioFilter is a base class for applying filters to the clip. The parent store the Java Clip so that it's Controls can be accessed and manipulated.

Copyright: Copyright (c) Dec 11, 2012

Version:
1.0
Author:
Gary Deken

Field Summary
protected  javax.sound.sampled.Clip parent
           
 
Constructor Summary
ClipAudioFilter()
           
 
Method Summary
 void setParent(javax.sound.sampled.Clip parent)
           
abstract  void update(long elapseTime)
          This method takes the elapse time, and calculates the new current frame of the animation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deken.game.Updateable
getName
 

Field Detail

parent

protected javax.sound.sampled.Clip parent
Constructor Detail

ClipAudioFilter

public ClipAudioFilter()
Method Detail

update

public abstract void update(long elapseTime)
Description copied from interface: Updateable
This method takes the elapse time, and calculates the new current frame of the animation.

Specified by:
update in interface Updateable
Parameters:
elapseTime - long

setParent

public void setParent(javax.sound.sampled.Clip parent)