package part1;

// The button for this command uses colors
import java.awt.Color;


/**
 * Play Command for a VSH Player
 *
 * @author $Author: cdent $
 *
 * @version $Revision: 1.2 $
 *
 */
public class VHSPlayCommand extends AbstractPlayerCommand {

    public void init() {
	setText("VHS Play");
	button.setBackground(Color.red);
	button.addActionListener(this);
    }

    public void press() {
	truify();
	System.out.println("##### VHS Player Playing.");
	((VHSContext)getContext()).commandChanged(this);
    }

}
	
