Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dmn::SoundNull Class Reference

NULL module for Sound. More...

#include <null.h>

Inheritance diagram for dmn::SoundNull:

Inheritance graph
[legend]
Collaboration diagram for dmn::SoundNull:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SoundNull ()
 Constructor.

bool configure (Core *core)
 Make all the configuration needed by the module (after have the id).

void mix_dominoes ()
 Mix the dominoes.

void domino_played (ID player, Domino domino, HalfDomino half)
 Play a sound when a domino is played.

void player_pass (ID player)
 Play a sound when a player passes.


Detailed Description

NULL module for Sound.

This module doesn't play any sound.


Member Function Documentation

bool dmn::SoundNull::configure Core core  )  [virtual]
 

Make all the configuration needed by the module (after have the id).

Parameters:
core core module
Returns:
true if all was ok, else false

Implements dmn::Sound.

void dmn::SoundNull::domino_played ID  player,
Domino  domino,
HalfDomino  half
[virtual]
 

Play a sound when a domino is played.

Parameters:
player identificator of the player
domino domino that is shuffled to player
half half of the domino

Implements dmn::Sound.

void dmn::SoundNull::player_pass ID  player  )  [virtual]
 

Play a sound when a player passes.

Parameters:
player identificator of the player

Implements dmn::Sound.


The documentation for this class was generated from the following file:
Generated on Fri Dec 26 22:56:27 2003 for dmn by doxygen 1.3.4