YAPOG  0.0.1
Yet Another Pokemon Online Game
DynamicObjectFactory.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_SERVER_DYNAMICOBJECTFACTORY_HPP
2 # define YAPOG_SERVER_DYNAMICOBJECTFACTORY_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 # include "YAPOG/System/String.hpp"
6 # include "YAPOG/Game/ID.hpp"
7 
8 namespace yse
9 {
11  {
13 
14  public:
15 
16  static DynamicObjectFactory& Instance ();
17 
18  template <typename T>
19  T* Create (const yap::String& typeName, const yap::ID& id) const;
20 
21  private:
22 
25  };
26 } // namespace yse
27 
29 
30 #endif // YAPOG_SERVER_DYNAMICOBJECTFACTORY_HPP