Class Sound

java.lang.Object
  extended by Sound
Direct Known Subclasses:
PlayerActivatedSound

public class Sound
extends java.lang.Object


Field Summary
private  java.lang.String file
           
protected  Player player
           
private  int sleeptime
           
(package private)  int time
           
(package private)  javax.swing.Timer timer
           
 
Constructor Summary
Sound(java.lang.String file, int time)
           
 
Method Summary
 void controllerUpdate(ControllerEvent c)
           
 void play()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

player

protected Player player

file

private java.lang.String file

sleeptime

private int sleeptime

time

int time

timer

javax.swing.Timer timer
Constructor Detail

Sound

public Sound(java.lang.String file,
             int time)
Method Detail

controllerUpdate

public void controllerUpdate(ControllerEvent c)

play

public void play()

stop

public void stop()