Class SoundNode

java.lang.Object
  extended by CollectableNode
      extended by SoundNode

public class SoundNode
extends CollectableNode


Constructor Summary
SoundNode(Sound sound)
           
 
Method Summary
 Sound collect()
          Collect all the sounds from me on, recursively.
 Sound collectAfter()
          Collect and process after this node
 Sound collectSwap()
          Collect swapped: Doesn't change in SoundNode
 String toString()
          Method to return a string with information about this node
 
Methods inherited from class CollectableNode
add, getNext, insertAfter, last, playFromMeOn, remove, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoundNode

public SoundNode(Sound sound)
Method Detail

toString

public String toString()
Method to return a string with information about this node

Overrides:
toString in class Object
Returns:
the information string

collect

public Sound collect()
Collect all the sounds from me on, recursively.

Specified by:
collect in class CollectableNode
Returns:
the collected sound

collectAfter

public Sound collectAfter()
Collect and process after this node

Specified by:
collectAfter in class CollectableNode
Returns:
the collected sound

collectSwap

public Sound collectSwap()
Collect swapped: Doesn't change in SoundNode

Returns:
the collected sound