YAPOG  0.0.1
Yet Another Pokemon Online Game
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"
7 
8 namespace ycl
9 {
10  class GameData
11  {
12  friend class ConfigurationReader;
13 
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 
39 
41 
44 
50 
52 
55 
61  };
62 } // namespace ycl
63 
64 #endif // YAPOG_CLIENT_GAMEDATA_HPP