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:
@@ -21,7 +21,7 @@
|
||||
class WeaponSystem : public ImpureSystem
|
||||
{
|
||||
public:
|
||||
WeaponSystem(World* world, EventBroker* eventBroker, IRenderer* renderer);
|
||||
WeaponSystem(SystemParams params, IRenderer* renderer);
|
||||
|
||||
virtual void Update(double dt) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user