YAPOG  0.0.1
Yet Another Pokemon Online Game
IDGenerator.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_SERVER_IDGENERATOR_HPP
2 # define YAPOG_SERVER_IDGENERATOR_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 # include "YAPOG/Game/ID.hpp"
6 
7 namespace yse
8 {
9  class IDGenerator
10  {
12 
13  public:
14 
15  static IDGenerator& Instance ();
16 
17  yap::ID GetID ();
18 
19  private:
20 
21  IDGenerator ();
22  ~IDGenerator ();
23 
25  };
26 } // namespace yse
27 
28 #endif // YAPOG_SERVER_IDGENERATOR_HPP