ScoreScreenSystem things
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user