mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-07-06 01:26:45 +02:00
update strat now has name
This commit is contained in:
@ -49,6 +49,8 @@ class SingleThreadedDefault : public MM::UpdateStrategies::UpdateStrategy {
|
||||
SingleThreadedDefault(void) = default;
|
||||
virtual ~SingleThreadedDefault(void);
|
||||
|
||||
const char* name(void) override { return "SingleThreadedDefault"; }
|
||||
|
||||
protected:
|
||||
bool registerService(const entt::id_type s_id, std::vector<UpdateCreationInfo>&& info_array) override;
|
||||
|
||||
|
@ -37,6 +37,8 @@ class UpdateStrategy {
|
||||
public:
|
||||
virtual ~UpdateStrategy(void) {}
|
||||
|
||||
virtual const char* name(void) = 0;
|
||||
|
||||
protected: // the engine facing interface
|
||||
friend ::MM::Engine;
|
||||
|
||||
|
Reference in New Issue
Block a user