ScoreScreenSystem things

This commit is contained in:
Tleety
2016-03-03 01:04:24 +01:00
parent d74ae4e411
commit 047a119e3f
2 changed files with 29 additions and 6 deletions
+10 -6
View File
@@ -1,18 +1,22 @@
#ifndef ScoreScreenSystem_h__
#define ScoreScreenSystem_h__
#include "../../Engine/Core/System.h"
#include "../../Engine/GLM.h"
#include "Core/System.h"
#include "Core/EPlayerDeath.h"
#include "Core/EPlayerSpawned.h"
#include "GLM.h"
class ScoreScreenSystem : public PureSystem
{
public:
ScoreScreenSystem(SystemParams params)
: System(params)
, PureSystem("ScoreScreen")
{ }
ScoreScreenSystem(SystemParams params);
virtual void UpdateComponent(EntityWrapper& entity, ComponentWrapper& capturePoint, double dt) override;
EventRelay<ScoreScreenSystem, Events::PlayerDeath> m_EPlayerDeath;
void OnPlayerDeath(const Events::PlayerDeath& e);
EventRelay<ScoreScreenSystem, Events::PlayerSpawned> m_EPlayerSpawned;
void OnPlayerSpawn(const Events::PlayerSpawned& e);
};
#endif