22 #ifndef EZGL_OBJECT_HPP 23 #define EZGL_OBJECT_HPP 29 #include "nlohmann/json.hpp" 57 static int Main(std::string
const &fileName);
58 static int Main(
char const *fileName);
119 Object(nlohmann::json &config);
Object factory and Main game executor.
Definition: Object.hpp:46
static bool Destroy(Object const &object)
Object destroyer.
Definition: Object.cpp:213
Object const * other
Interactor object pointer.
Definition: Object.hpp:116
std::unique_ptr< class Object > ObjectPtr
Object smart pointer type.
Definition: Object.hpp:40
nlohmann::json data
Modifiable object data.
Definition: Object.hpp:107
static Object & Create(std::string const &objectName)
Object factory.
Definition: Object.cpp:196
static void UpdateAll()
Only graphics API binding components should call this.
Definition: Object.cpp:231
static int Main(std::string const &fileName)
Initialize and run the game.
Definition: Object.cpp:102