summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Components/BurningComponent.h
blob: 754796094c39d20a5c089b259718d8f7f45aa852 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#pragma once

class cChunk;

// This class is paramerised to allow mocking
template <class EntityType, class ChunkType>
class cBurningComponent
{
private:
	EntityType & m_Self;
public:

	cBurningComponent(EntityType & a_Self)
	: m_Self(a_Self)
	{}

	void Tick(float a_Dt, ChunkType & a_Chunk);
};

#ifdef SELF_TEST
#include "BurningComponent.inc"
#endif