summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Components/BurningComponent.h
blob: 754796094c39d20a5c089b259718d8f7f45aa852 (plain) (tree)



















                                                   
                
                               
      

#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