mirror of
https://github.com/cuberite/cuberite.git
synced 2025-01-08 11:57:39 +08:00
Made Burning component an explicit instatiation
This commit is contained in:
parent
e3afeae727
commit
695e4fa30a
14
src/Mobs/Components/BurningComponent.cpp
Normal file
14
src/Mobs/Components/BurningComponent.cpp
Normal 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
|
@ -18,4 +18,6 @@ public:
|
||||
void Tick(float a_Dt, ChunkType & a_Chunk);
|
||||
};
|
||||
|
||||
#ifdef SELF_TEST
|
||||
#include "BurningComponent.inc"
|
||||
#endif
|
||||
|
@ -7,6 +7,7 @@ SET (SRCS
|
||||
AIComponent.cpp
|
||||
AIAggressiveComponent.cpp
|
||||
AttackComponent.cpp
|
||||
BurningComponent.cpp
|
||||
EnvironmentComponent.cpp
|
||||
MovementComponent.cpp)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user