Space Game
Game Class Reference

#include <Game.hpp>

Collaboration diagram for Game:

Public Member Functions

 Game (glm::vec2 screenDimensions, std::string uiFilename, std::string guiTextureFilename, std::string techTreeFilename, ShipComponentManager *shipComponentManager, int seed)
 ~Game ()
spaceengine::ui::UIManagerGetUIManager ()

Private Attributes

spaceengine::ui::UIManager m_uiManager
spaceengine::Texture m_guiTexture
Player m_player1
Player m_player2

Detailed Description

Definition at line 13 of file Game.hpp.

Constructor & Destructor Documentation

Game::Game ( glm::vec2  screenDimensions,
std::string  uiFilename,
std::string  guiTextureFilename,
std::string  techTreeFilename,
ShipComponentManager shipComponentManager,
int  seed 

Definition at line 7 of file Game.cpp.

Game::~Game ( )

Definition at line 20 of file Game.cpp.

Member Function Documentation

spaceengine::ui::UIManager * Game::GetUIManager ( )

Definition at line 24 of file Game.cpp.

References m_uiManager.

Referenced by SpecificGame::PostDrawCommands(), SpecificGame::PreDrawCommands(), SpecificGame::SpecificGame(), and SpecificGame::Start().

Here is the caller graph for this function:

Member Data Documentation

spaceengine::Texture Game::m_guiTexture

Definition at line 25 of file Game.hpp.

Player Game::m_player1

Definition at line 30 of file Game.hpp.

Player Game::m_player2

Definition at line 31 of file Game.hpp.

spaceengine::ui::UIManager Game::m_uiManager

Definition at line 24 of file Game.hpp.

Referenced by GetUIManager().

ShipComponentManager* Game::shipComponentManager

Definition at line 28 of file Game.hpp.

TechTree* Game::techTree

Definition at line 27 of file Game.hpp.

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