YAPOG  0.0.1
Yet Another Pokemon Online Game
ycl::GameData Class Reference

#include <GameData.hpp>

Collaboration diagram for ycl::GameData:

List of all members.

Static Public Member Functions

static void Init (const yap::String &configurationFileName)
static const yap::StringRemoteIPAddress ()
static const yap::Vector2WindowSize ()
static const yap::Vector2Resolution ()
static const yap::StringContentPath ()
static const yap::StringTexturePath ()
static const yap::StringFontPath ()
static const yap::StringMusicPath ()
static const yap::StringSoundPath ()

Private Member Functions

 DISALLOW_COPY (GameData)
 GameData ()
 ~GameData ()

Static Private Member Functions

static GameDataInstance ()

Private Attributes

yap::String remoteIPAddress_
yap::Vector2 windowSize_
yap::Vector2 resolution_
yap::String contentPath_
yap::String texturePath_
yap::String fontPath_
yap::String musicPath_
yap::String soundPath_

Static Private Attributes

static const yap::String DEFAULT_CONFIGURATION_FILE_ROOT_NODE_NAME = "Configuration"
static const yap::String DEFAULT_REMOTE_IP_ADDRESS = "localhost"
static const yap::Vector2 DEFAULT_WINDOW_SIZE = yap::Vector2 (800, 600)
static const yap::Vector2 DEFAULT_RESOLUTION = yap::Vector2 (800, 600)
static const yap::String DEFAULT_CONTENT_PATH = "Content"
static const yap::String DEFAULT_TEXTURE_PATH = "Texture"
static const yap::String DEFAULT_FONT_PATH = "Font"
static const yap::String DEFAULT_MUSIC_PATH = "Music"
static const yap::String DEFAULT_SOUND_PATH = "Sound"

Friends

class ConfigurationReader

Detailed Description

Definition at line 10 of file GameData.hpp.


Constructor & Destructor Documentation

ycl::GameData::GameData ( )
private

Definition at line 24 of file GameData.cpp.

ycl::GameData::~GameData ( )
private

Definition at line 36 of file GameData.cpp.


Member Function Documentation

const yap::String & ycl::GameData::ContentPath ( )
static

Definition at line 84 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

ycl::GameData::DISALLOW_COPY ( GameData  )
private
const yap::String & ycl::GameData::FontPath ( )
static

Definition at line 94 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ycl::GameData::Init ( const yap::String configurationFileName)
static

Definition at line 47 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

GameData & ycl::GameData::Instance ( )
staticprivate

Definition at line 40 of file GameData.cpp.

Here is the caller graph for this function:

const yap::String & ycl::GameData::MusicPath ( )
static

Definition at line 99 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const yap::String & ycl::GameData::RemoteIPAddress ( )
static

Definition at line 69 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const yap::Vector2 & ycl::GameData::Resolution ( )
static

Definition at line 79 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const yap::String & ycl::GameData::SoundPath ( )
static

Definition at line 104 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const yap::String & ycl::GameData::TexturePath ( )
static

Definition at line 89 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const yap::Vector2 & ycl::GameData::WindowSize ( )
static

Definition at line 74 of file GameData.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class ConfigurationReader
friend

Definition at line 12 of file GameData.hpp.


Member Data Documentation

yap::String ycl::GameData::contentPath_
private

Definition at line 56 of file GameData.hpp.

const yap::String ycl::GameData::DEFAULT_CONFIGURATION_FILE_ROOT_NODE_NAME = "Configuration"
staticprivate

Definition at line 38 of file GameData.hpp.

const yap::String ycl::GameData::DEFAULT_CONTENT_PATH = "Content"
staticprivate

Definition at line 45 of file GameData.hpp.

const yap::String ycl::GameData::DEFAULT_FONT_PATH = "Font"
staticprivate

Definition at line 47 of file GameData.hpp.

const yap::String ycl::GameData::DEFAULT_MUSIC_PATH = "Music"
staticprivate

Definition at line 48 of file GameData.hpp.

const yap::String ycl::GameData::DEFAULT_REMOTE_IP_ADDRESS = "localhost"
staticprivate

Definition at line 40 of file GameData.hpp.

const yap::Vector2 ycl::GameData::DEFAULT_RESOLUTION = yap::Vector2 (800, 600)
staticprivate

Definition at line 43 of file GameData.hpp.

const yap::String ycl::GameData::DEFAULT_SOUND_PATH = "Sound"
staticprivate

Definition at line 49 of file GameData.hpp.

const yap::String ycl::GameData::DEFAULT_TEXTURE_PATH = "Texture"
staticprivate

Definition at line 46 of file GameData.hpp.

const yap::Vector2 ycl::GameData::DEFAULT_WINDOW_SIZE = yap::Vector2 (800, 600)
staticprivate

Definition at line 42 of file GameData.hpp.

yap::String ycl::GameData::fontPath_
private

Definition at line 58 of file GameData.hpp.

yap::String ycl::GameData::musicPath_
private

Definition at line 59 of file GameData.hpp.

yap::String ycl::GameData::remoteIPAddress_
private

Definition at line 51 of file GameData.hpp.

yap::Vector2 ycl::GameData::resolution_
private

Definition at line 54 of file GameData.hpp.

yap::String ycl::GameData::soundPath_
private

Definition at line 60 of file GameData.hpp.

yap::String ycl::GameData::texturePath_
private

Definition at line 57 of file GameData.hpp.

yap::Vector2 ycl::GameData::windowSize_
private

Definition at line 53 of file GameData.hpp.


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