summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Components/BurningComponent.h
blob: d77a9dd306a861d4c09529d42060616eaed7d0d4 (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);
};

#include "BurningComponent.inc"