Logo Search packages:      
Sourcecode: fillets-ng version File versions

Pedometer Class Reference

#include <Pedometer.h>

Inheritance diagram for Pedometer:

GameState Drawable BaseListener NoCopy NoCopy INamed

List of all members.

Detailed Description

Pedometer with tree buttons.

Definition at line 18 of file Pedometer.h.

Public Member Functions

virtual bool allowBg () const
void cleanState ()
virtual void drawOn (SDL_Surface *screen)
virtual const char * getName () const
void initState (StateManager *manager)
void installHandlers ()
bool isOnBg () const
bool isRunning () const
void noteBg ()
void noteFg ()
void pauseState ()
 Pedometer (LevelStatus *status, Level *level)
void pushState (GameState *new_state)
void quitState ()
virtual void receiveInt (const IntMsg *msg)
void receiveSimple (const SimpleMsg *msg)
virtual void receiveString (const StringMsg *msg)
void registerDrawable (Drawable *drawable)
void resumeState ()
void runSelected ()
void setNextState (GameState *nextState)
void unHandlers ()
void updateState ()

Protected Member Functions

void changeState (GameState *new_state)
const InputProvidergetInput ()
virtual void own_cleanState ()
virtual void own_initState ()
virtual void own_noteBg ()
virtual void own_noteFg ()
virtual void own_pauseState ()
virtual void own_resumeState ()
virtual void own_updateState ()
void registerWatcher (const std::string &param)
void takeHandler (InputHandler *new_handler)

Private Member Functions

void drawNumber (SDL_Surface *screen, int x, int y, int shiftY)
void drawNumbers (SDL_Surface *screen, int value)
void prepareBg ()
void prepareRack ()
void runLevel ()
void runReplay ()
void watchCursor ()

Private Attributes

Uint32 m_activeMask
Uint32 m_maskCancel
Uint32 m_maskReplay
Uint32 m_maskRun
int m_meterPhase
SDL_Surface * m_numbers
std::string m_solution

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index