#include <scoresprite.h>
Inheritance diagram for ScoreSprite:
Public Member Functions | |
| ScoreSprite (QString id, ThemeManager *theme, int advancePeriod, int no, QGraphicsScene *scene) | |
| Constructor for the score sprite. | |
| ~ScoreSprite () | |
| Destructor. | |
| virtual void | advance (int phase) |
| Standard QGI advance function. | |
| virtual int | type () const |
| Retrieve the type of QGI. | |
| virtual void | changeTheme () |
| Main theme change function. | |
| void | setLevel (int level, int no) |
| Store the level of the AI. | |
| void | setPlayerName (QString s, int no) |
| Store the player name. | |
| void | setWon (QString s, int no) |
| Store the amounts of wins for a player. | |
| void | setDraw (QString s, int no) |
| Store the amounts of draws for a player. | |
| void | setLoss (QString s, int no) |
| Store the amounts of losses for a player. | |
| void | setBreak (QString s, int no) |
| Store the amounts of aborted games for a player. | |
| void | setTurn (int no) |
| Define who's turn it is next. | |
| void | setInput (int device, int no) |
| Store input device for a player. | |
Definition at line 37 of file scoresprite.h.
|
||||||||||||||||||||||||
|
Constructor for the score sprite.
Definition at line 37 of file scoresprite.cpp. References PixmapSprite::PixmapSprite(). Here is the call graph for this function: |
|
|
Destructor.
Definition at line 64 of file scoresprite.cpp. |
|
|
Standard QGI advance function.
Reimplemented from PixmapSprite. Definition at line 162 of file scoresprite.cpp. References PixmapSprite::advance(). Here is the call graph for this function: |
|
|
Main theme change function. On call of this the item needs to redraw and resize. Reimplemented from PixmapSprite. Definition at line 80 of file scoresprite.cpp. References PixmapSprite::changeTheme(), ThemeManager::config(), PixmapSprite::setFrame(), and Themable::thememanager(). Here is the call graph for this function: |
|
||||||||||||
|
Store the amounts of aborted games for a player.
Definition at line 213 of file scoresprite.cpp. Referenced by Score::update(). |
|
||||||||||||
|
Store the amounts of draws for a player.
Definition at line 197 of file scoresprite.cpp. Referenced by Score::update(). |
|
||||||||||||
|
Store input device for a player.
Definition at line 222 of file scoresprite.cpp. References PixmapSprite::setFrame(). Referenced by Score::update(). Here is the call graph for this function: |
|
||||||||||||
|
Store the level of the AI.
Definition at line 170 of file scoresprite.cpp. Referenced by Score::update(). |
|
||||||||||||
|
Store the amounts of losses for a player.
Definition at line 205 of file scoresprite.cpp. Referenced by Score::update(). |
|
||||||||||||
|
Store the player name.
Definition at line 181 of file scoresprite.cpp. Referenced by Score::update(). |
|
|
Define who's turn it is next.
Definition at line 240 of file scoresprite.cpp. References ThemeManager::config(), and Themable::thememanager(). Referenced by Score::update(). Here is the call graph for this function: |
|
||||||||||||
|
Store the amounts of wins for a player.
Definition at line 189 of file scoresprite.cpp. Referenced by Score::update(). |
|
|
Retrieve the type of QGI. This item is UserType+10
Reimplemented from PixmapSprite. Definition at line 62 of file scoresprite.h. |
1.4.6