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

Level Class Reference

#include <Level.h>

Inheritance diagram for Level:

GameState CountAdvisor BaseListener NoCopy INamed

List of all members.

Detailed Description

Game level with room.

Definition at line 30 of file Level.h.

Public Member Functions

bool action_load ()
bool action_move (char symbol)
bool action_restart ()
bool action_save ()
virtual bool allowBg () const
void cleanState ()
void controlEvent (const KeyStroke &stroke)
void controlMouse (const MouseStroke &button)
void createRoom (int w, int h, const Path &picture)
void fillDesc (const DescFinder *desc)
void fillStatus (LevelStatus *status)
virtual int getCountForSolved () const
virtual int getCountForWrong () const
int getDepth () const
std::string getLevelName () const
virtual const char * getName () const
int getRestartCounter () const
void initState (StateManager *manager)
void installHandlers ()
void interruptShow ()
bool isLoading () const
bool isNewRound () const
bool isOnBg () const
bool isRunning () const
bool isShowing () const
 Level (const std::string &codename, const Path &datafile, int depth)
void loadGame (const std::string &moves)
void loadReplay (const std::string &moves)
void newDemo (const Path &demofile)
void noteBg ()
void noteFg ()
void pauseState ()
void planShow (Command *new_command)
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 saveGame (const std::string &models)
void setNextState (GameState *nextState)
void switchFish ()
void togglePause ()
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 displaySaveStatus ()
void finishLevel ()
void initScreen ()
void nextAction ()
void nextLoadAction ()
void nextPlayerAction ()
void nextShowAction ()
void saveSolution ()
void updateLevel ()

Private Attributes

std::string m_codename
Path m_datafile
int m_depth
const DescFinderm_desc
bool m_newRound
int m_restartCounter

Static Private Attributes

static const int SPEED_REPLAY = 1

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

Generated by  Doxygen 1.6.0   Back to index