YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GameData.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_GAMEDATA_HPP
2
# define YAPOG_CLIENT_GAMEDATA_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/String.hpp
"
6
# include "
YAPOG/Graphics/Vector2.hpp
"
7
8
namespace
ycl
9
{
10
class
GameData
11
{
12
friend
class
ConfigurationReader
;
13
14
DISALLOW_COPY
(
GameData
);
15
16
public
:
17
18
static
void
Init
(
const
yap::String
& configurationFileName);
19
20
static
const
yap::String
&
RemoteIPAddress
();
21
22
static
const
yap::Vector2
&
WindowSize
();
23
static
const
yap::Vector2
&
Resolution
();
24
25
static
const
yap::String
&
ContentPath
();
26
static
const
yap::String
&
TexturePath
();
27
static
const
yap::String
&
FontPath
();
28
static
const
yap::String
&
MusicPath
();
29
static
const
yap::String
&
SoundPath
();
30
31
private
:
32
33
static
GameData
&
Instance
();
34
35
GameData
();
36
~GameData
();
37
38
static
const
yap::String
DEFAULT_CONFIGURATION_FILE_ROOT_NODE_NAME
;
39
40
static
const
yap::String
DEFAULT_REMOTE_IP_ADDRESS
;
41
42
static
const
yap::Vector2
DEFAULT_WINDOW_SIZE
;
43
static
const
yap::Vector2
DEFAULT_RESOLUTION
;
44
45
static
const
yap::String
DEFAULT_CONTENT_PATH
;
46
static
const
yap::String
DEFAULT_TEXTURE_PATH
;
47
static
const
yap::String
DEFAULT_FONT_PATH
;
48
static
const
yap::String
DEFAULT_MUSIC_PATH
;
49
static
const
yap::String
DEFAULT_SOUND_PATH
;
50
51
yap::String
remoteIPAddress_
;
52
53
yap::Vector2
windowSize_
;
54
yap::Vector2
resolution_
;
55
56
yap::String
contentPath_
;
57
yap::String
texturePath_
;
58
yap::String
fontPath_
;
59
yap::String
musicPath_
;
60
yap::String
soundPath_
;
61
};
62
}
// namespace ycl
63
64
#endif // YAPOG_CLIENT_GAMEDATA_HPP
YAPOG.Client
include
Configuration
GameData.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1