Created "EntitySystem" class as means to group a World with a SystemPipeline

This commit is contained in:
2016-02-24 15:27:41 +01:00
parent 4aaba03852
commit 7cd4dac909
19 changed files with 370 additions and 135 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef EGameEnd_h__
#define EGameEnd_h__
#include "Core/Event.h"
namespace Events
{
struct GameEnd : Event
{
};
}
#endif
+16
View File
@@ -0,0 +1,16 @@
#ifndef EGameStart_h__
#define EGameStart_h__
#include "Core/Event.h"
namespace Events
{
struct GameStart : Event
{
};
}
#endif
+2 -2
View File
@@ -10,8 +10,8 @@ namespace Events
//triggers when a team has captured all capturePoints
struct Win : Event
{
//can be 0 = none, 1,2
int TeamThatWon;
// The winning team corresponding to TeamEnum
ComponentInfo::EnumType Team;
};
}