Refactored System constructor to take a struct instead of a bunch of parameters to reduce future pain and to be able to extend it with IsClient and IsServer flags.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
class HealthSystem : public PureSystem
|
||||
{
|
||||
public:
|
||||
HealthSystem(World* world, EventBroker* eventBroker);
|
||||
HealthSystem(SystemParams params);
|
||||
|
||||
//updatecomponent
|
||||
virtual void UpdateComponent(EntityWrapper& entity, ComponentWrapper& component, double dt) override;
|
||||
|
||||
Reference in New Issue
Block a user