summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Guardian.h
blob: 988f368329c68dddfd672c41ef575cef52aeb938 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


            
                    





                 
                       
 
                               
 


                    
                                                                                     

                                 
 









                                                                                       

#pragma once

#include "Monster.h"





class cGuardian :
	public cMonster
{
	typedef cMonster super;

public:
	cGuardian();

	virtual void Tick(std::chrono::milliseconds 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 {}
} ;