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

Room Class Reference

#include <Room.h>

Inheritance diagram for Room:

StepCounter Drawable NoCopy

List of all members.


Detailed Description

Room with level.

Definition at line 28 of file Room.h.


Public Member Functions

void addDecor (Decor *new_decor)
int addModel (Cube *new_model, Unit *new_unit)
void addSound (const std::string &name, const Path &file)
CubeaskField (const V2 &loc)
bool beginFall (bool interactive=true)
bool cannotMove () const
void changeBg (const Path &picture)
void checkActive ()
void controlEvent (const KeyStroke &stroke)
void controlMouse (const MouseStroke &button)
virtual void drawOn (SDL_Surface *screen)
void finishRound (bool interactive=true)
int getCycles () const
int getH () const
CubegetModel (int model_index)
std::string getMoves () const
int getStepCount () const
int getW () const
bool isSolvable () const
bool isSolved () const
void loadMove (char move)
bool makeMove (char move)
void nextRound (const InputProvider *input)
void playSound (const std::string &name, int volume=100)
 Room (int w, int h, const Path &picture, PhaseLocker *locker, Planner *levelScript)
void setFastFalling (bool value)
void setScreenShift (const V2 &shift)
void setWaves (float amplitude, float periode, float speed)
void switchFish ()
void unBusyUnits ()
 ~Room ()

Private Member Functions

bool falldown (bool interactive=true)
bool fallout (bool interactive=true)
bool isFresh () const
void playDead (Cube *model)
void playImpact (Cube::eWeight impact)
void prepareRound ()

Private Attributes

WavyPicturem_bg
Controlsm_controls
bool m_fastFalling
Fieldm_field
FinderAlgm_finder
Cube::eAction m_lastAction
Plannerm_levelScript
PhaseLockerm_locker
Cube::t_models m_models
ResSoundPackm_soundPack
int m_startTime
Viewm_view

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

Generated by  Doxygen 1.6.0   Back to index