feat: update engine features
- WIP start/stop methods - Remove test module
This commit is contained in:
@@ -23,8 +23,26 @@ public:
|
||||
virtual const std::unordered_map<std::string, MscRevisionRange> &
|
||||
getDependencies() const = 0;
|
||||
|
||||
/// Module initialization phase
|
||||
/// @brief Module initialization
|
||||
/// @param engine engine public API for modules
|
||||
virtual void onInitialize(IMscEngineModuleAPI &engine) = 0;
|
||||
|
||||
/// @brief Engine start event handler
|
||||
/// @param engine engine public API for modules
|
||||
virtual void onStart(IMscEngineModuleAPI &engine) = 0;
|
||||
|
||||
/// @brief Engine update cycle step
|
||||
/// @param engine engine public API for modules
|
||||
/// @param dt loop delta
|
||||
virtual void onUpdate(IMscEngineModuleAPI &engine, float dt) = 0;
|
||||
|
||||
/// @brief Engine stop event handler
|
||||
/// @param engine engine public API for modules
|
||||
virtual void onStop(IMscEngineModuleAPI &engine) = 0;
|
||||
|
||||
/// @brief Module destroying
|
||||
/// @param engine engine public API for modules
|
||||
virtual void onDestory(IMscEngineModuleAPI &engine) = 0;
|
||||
};
|
||||
|
||||
#endif // __MCS_ENGINE_MODULE_HPP__
|
||||
|
||||
Reference in New Issue
Block a user