#include <gamegui.h>
Collaboration diagram for GameGUI:

Public Member Functions | |
| GameGUI () | |
| virtual | ~GameGUI () |
| virtual void | init () |
| virtual void | clean () |
| virtual void | render () |
| virtual void | update (int dtime, int atime) |
| void | setPlayer (Player &player) |
| void | addMessage (std::string &msg) |
| void | addConsoleMessage (std::string &msg) |
Private Attributes | |
| StatsWindow | mStatsWindow |
| InfoLayer | mInfoLayer |
| Minimap | mMinimap |
| Messages | mMessages |
Definition at line 19 of file gamegui.h.
|
|
Definition at line 7 of file gamegui.cpp. References TIN. |
|
|
Definition at line 12 of file gamegui.cpp. |
|
|
Add a message to console - should be thread safe |
|
|
Add a message to messages window Definition at line 37 of file gamegui.cpp. References Messages::addMessage(), and mMessages. Here is the call graph for this function: ![]() |
|
|
Definition at line 48 of file gamegui.cpp. References Messages::clean(), and mMessages. Referenced by GameClient::clean(). Here is the call graph for this function: ![]() |
|
|
Definition at line 42 of file gamegui.cpp. References Messages::init(), and mMessages. Referenced by GameClient::init(). Here is the call graph for this function: ![]() |
|
|
Definition at line 17 of file gamegui.cpp. References mInfoLayer, mMessages, mMinimap, Messages::render(), InfoLayer::render(), and Minimap::render(). Referenced by LayerGUI::render(). Here is the call graph for this function: ![]() |
|
|
Distribute current player to other GUI components Definition at line 30 of file gamegui.cpp. References mInfoLayer, mMinimap, mStatsWindow, Minimap::setPlayer(), InfoLayer::setPlayer(), and StatsWindow::setPlayer(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 25 of file gamegui.cpp. |
|
|
Definition at line 54 of file gamegui.h. Referenced by render(), and setPlayer(). |
|
|
Definition at line 56 of file gamegui.h. Referenced by addMessage(), clean(), init(), and render(). |
|
|
Definition at line 55 of file gamegui.h. Referenced by render(), and setPlayer(). |
|
|
Definition at line 53 of file gamegui.h. Referenced by setPlayer(). |
1.4.5