Fade in/out should now work with models and sprites

This commit is contained in:
Tleety
2016-03-13 02:03:49 +01:00
parent 13f44c2086
commit bbe61f300c
11 changed files with 71 additions and 45 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ protected:
const std::string m_ComponentType;
virtual void UpdateComponent(EntityWrapper& entity, ComponentWrapper& scoreScreen, double dt) = 0;
virtual void UpdateComponent(EntityWrapper& entity, ComponentWrapper& cFade, double dt) = 0;
};
class ImpureSystem : public virtual System
@@ -1,14 +1,15 @@
#ifndef FadeOutSystem_h__
#define FadeOutSystem_h__
#ifndef FadeSystem_h__
#define FadeSystem_h__
#include "Core/System.h"
#include "GLM.h"
class FadeOutSystem : public PureSystem
class FadeSystem : public PureSystem
{
public:
FadeOutSystem(SystemParams params)
FadeSystem(SystemParams params)
: System(params)
, PureSystem("FadeOut")
, PureSystem("Fade")
{
}