YAPOG  0.0.1
Yet Another Pokemon Online Game
IDGenerator.cpp
Go to the documentation of this file.
2 
3 namespace yse
4 {
6  : currentID_ ()
7  {
8  }
9 
11  {
12  }
13 
15  {
16  static IDGenerator instance;
17 
18  return instance;
19  }
20 
22  {
23  return yap::ID (currentID_++);
24  }
25 } // namespace yse