summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Guardian.h
blob: 50c034036b1d2e949b223a7edbfb4426b1c74b37 (plain) (tree)






























                                                                                       

#pragma once

#include "AggressiveMonster.h"





class cGuardian :
	public cAggressiveMonster
{
	typedef cAggressiveMonster super;
	
public:
	cGuardian();

	virtual void Tick(float a_Dt, cChunk & a_Chunk) override;

	CLASS_PROTODEF(cGuardian)
	
	virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;

	// Guardians do not drown (or float)
	virtual void HandleAir(void) override {}
	virtual void SetSwimState(cChunk & a_Chunk) override {}
} ;