Logo Search packages:      
Sourcecode: bastet version File versions  Download package

Public Member Functions | Private Types | Private Attributes

Bastet::Ui Class Reference

Collaboration diagram for Bastet::Ui:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void ChooseLevel ()
void ClearNext ()
void CompletedLinesAnimation (const LinesCompleted &completed)
void CustomizeKeys ()
void DropBlock (BlockType b, Well *w)
void HandleHighScores (difficulty_t diff)
std::string InputDialog (const std::string &message)
int KeyDialog (const std::string &message)
int MenuDialog (const std::vector< std::string > &choices)
void MessageDialog (const std::string &message)
void Play (BlockChooser *bc)
void RedrawNext (BlockType next)
void RedrawScore ()
void RedrawStatic ()
void RedrawWell (const Well *well, BlockType falling, const BlockPosition &pos)
void ShowHighScores (difficulty_t diff)
 if needed, asks name for highscores

Private Types

typedef boost::array
< ColorWellLine,
RealWellHeight > 
ColorWell
typedef boost::array< Color,
WellWidth > 
ColorWellLine

Private Attributes

ColorWell _colors
Curses _curses
difficulty_t _difficulty
int _level
int _lines
BorderedWindow _nextWin
int _points
BorderedWindow _scoreWin
BorderedWindow _wellWin

Detailed Description

Definition at line 55 of file Ui.hpp.


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

Generated by  Doxygen 1.6.0   Back to index