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.


Constructor Index

 o GameSound()
Sets initial values for sound frequency array (limits frequency of phrase use

Method Index

 o gameUpdate(Board, Minimax, int)
This is the common update method for all GameUpdate objects.
 o getMediaList()
Returns the list of media that this game sound control would like loaded.

Constructors

 o GameSound
 public GameSound()
Sets initial values for sound frequency array (limits frequency of phrase use

Methods

 o 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
 o 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