Made Burning component an explicit instatiation

This commit is contained in:
Tycho 2014-09-11 13:08:58 +01:00
parent e3afeae727
commit 695e4fa30a
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#include "Globals.h"
#ifndef SELF_TEST
#include "BurningComponent.h"
#include "BurningComponent.inc"
#include "Chunk.h"
#include "Entities/Entity.h"
template class cBurningComponent<cEntity, cChunk>;
#endif

View File

@ -18,4 +18,6 @@ public:
void Tick(float a_Dt, ChunkType & a_Chunk);
};
#ifdef SELF_TEST
#include "BurningComponent.inc"
#endif

View File

@ -7,6 +7,7 @@ SET (SRCS
AIComponent.cpp
AIAggressiveComponent.cpp
AttackComponent.cpp
BurningComponent.cpp
EnvironmentComponent.cpp
MovementComponent.cpp)