edu.cmu.etc.jamodrum
Interface Controllable


public interface Controllable


Method Summary
 boolean Start(Input in, java.awt.Frame frame)
          The Start method is called by ZeumControlPanel whenever a new experience needs to be started.
 boolean Stop()
          Stop is called by the ZeumControlPanel when the experience is stopped by the Jam-O-Drum operator.
 

Method Detail

Start

public boolean Start(Input in,
                     java.awt.Frame frame)
The Start method is called by ZeumControlPanel whenever a new experience needs to be started. All initialization for the experience should be done in this method.
Parameters:
in - Input object created by ZeumControlPanel. Contains the interfaces necessary to receive input from the Jam-O-Drum.
frame - A reference to the ZeumControlPanel frame.

Stop

public boolean Stop()
Stop is called by the ZeumControlPanel when the experience is stopped by the Jam-O-Drum operator. All shutdown for the experience should be performed in this method.