#ifndef WeaponSystem_h__ #define WeaponSystem_h__ //#include //#include #include "Rendering/IRenderer.h" #include "Common.h" #include "Core/System.h" #include "Core/EPlayerDamage.h" #include "Core/EShoot.h" #include "Input/EInputCommand.h" #include #include class WeaponSystem : public ImpureSystem { public: WeaponSystem(World* world, EventBroker* eventBroker, IRenderer* renderer); virtual void Update(double dt) override; private: //methods which will take care of specific events EventRelay m_EShoot; bool WeaponSystem::OnShoot(const Events::Shoot& e); EventRelay m_EInputCommand; bool WeaponSystem::OnInputCommand(const Events::InputCommand& e); IRenderer* m_Renderer; std::vector> m_EShootVector; }; #endif