All Packages Class Hierarchy This Package Previous Next Index
Class taxman.GameSound
java.lang.Object
|
+----taxman.GameSound
- public class GameSound
- extends Object
- implements GameUpdate
This object controls the game sounds.
-
GameSound()
- Sets initial values for sound frequency array (limits frequency of
phrase use
-
gameUpdate(Board, Minimax, int)
- This is the common update method for all GameUpdate objects.
-
getMediaList()
- Returns the list of media that this game sound control would
like loaded.
GameSound
public GameSound()
- Sets initial values for sound frequency array (limits frequency of
phrase use
gameUpdate
public void gameUpdate(Board b,
Minimax m,
int flags)
- This is the common update method for all GameUpdate objects.
It's job is to keep the sounds synchronized with game state.
- Parameters:
- b - The current game board
- m - The current minimax object
- flag - a flag indicating the game state
getMediaList
public MediaRecord[] getMediaList()
- Returns the list of media that this game sound control would
like loaded.
- Returns:
- All sound that GameControl would like loaded as an
array of MediaRecords
All Packages Class Hierarchy This Package Previous Next Index