kapman
GameScene Class Reference
#include <gamescene.h>
Inheritance diagram for GameScene:
Public Member Functions | |
GameScene (Game *p_game) | |
~GameScene () | |
Game * | getGame () const |
void | loadTheme () |
Detailed Description
This class contains all the Game elements to be drawn on the screen by the GameView instance.
Definition at line 38 of file gamescene.h.
Constructor & Destructor Documentation
GameScene::GameScene | ( | Game * | p_game | ) |
Creates a new GameScene instance.
- Parameters
-
p_game the Game instance whose elements must be contained in the GameScene in order to be drawn
Definition at line 26 of file gamescene.cpp.
GameScene::~GameScene | ( | ) |
Deletes the Game instance.
Definition at line 130 of file gamescene.cpp.
Member Function Documentation
Game * GameScene::getGame | ( | ) | const |
- Returns
- the Game instance
Definition at line 154 of file gamescene.cpp.
void GameScene::loadTheme | ( | ) |
Loads the game theme.
Definition at line 158 of file gamescene.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.