com.croftsoft.apps.mars.controller
Class SoundController

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by com.croftsoft.apps.mars.controller.SoundController
All Implemented Interfaces:
KeyListener, EventListener

public final class SoundController
extends KeyAdapter

Toggles sound.

Since:
2003-04-02
Version:
2003-04-04
Author:
David Wallace Croft

Constructor Summary
SoundController(AudioClipCache audioClipCache, UserData userData, Component component)
           
 
Method Summary
 void keyPressed(KeyEvent keyEvent)
           
 
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundController

public SoundController(AudioClipCache audioClipCache,
                       UserData userData,
                       Component component)
Method Detail

keyPressed

public void keyPressed(KeyEvent keyEvent)
Specified by:
keyPressed in interface KeyListener
Overrides:
keyPressed in class KeyAdapter

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)