23 lines
536 B
C++
23 lines
536 B
C++
#ifndef PlayerDeathSystem_h__
|
|
#define PlayerDeathSystem_h__
|
|
|
|
#include "Core/System.h"
|
|
#include "Input/EInputCommand.h"
|
|
#include "GLM.h"
|
|
#include "Rendering/ESetCamera.h"
|
|
#include "Core/ConfigFile.h"
|
|
|
|
#include "Core/EPlayerDeath.h"
|
|
|
|
class PlayerDeathSystem : public ImpureSystem
|
|
{
|
|
public:
|
|
PlayerDeathSystem(World* world, EventBroker* eventBroker);
|
|
|
|
virtual void Update(double dt) override;
|
|
|
|
private:
|
|
EventRelay<PlayerDeathSystem, Events::PlayerDeath> m_OnPlayerDeath;
|
|
bool OnPlayerDeath(Events::PlayerDeath& e);
|
|
};
|
|
#endif |