Class SoundNode
java.lang.Object
CollectableNode
SoundNode
public class SoundNode
- extends CollectableNode
SoundNode
public SoundNode(Sound sound)
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