Platformer
Platformer
PythonManager.hpp
1 #ifndef PYTHON_MANAGER_HPP
2 #define PYTHON_MANAGER_HPP
3 
7 class PythonManager {
8  public:
10  static PythonManager& instance();
11 
13  void init();
14 
16  void shutdown();
17 
19  PythonManager(const PythonManager&) = delete;
20 
22  PythonManager& operator=(const PythonManager&) = delete;
23 
24  private:
26  PythonManager();
27 
30 };
31 
32 #endif
void init()
Initializes the python manager.
Definition: PythonManager.cpp:14
PythonManager()
Constructs a PythonManager.
Definition: PythonManager.cpp:22
~PythonManager()
Destructs a PythonManager.
Definition: PythonManager.cpp:24
static PythonManager & instance()
The singleton instance of the PythonManager.
Definition: PythonManager.cpp:8
This class manages the python scripts of our game as a singleton.
Definition: PythonManager.hpp:7
PythonManager & operator=(const PythonManager &)=delete
Stop the compiler from generating methods to copy the object.
void shutdown()
Shuts down the python manager.
Definition: PythonManager.cpp:20