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

            
                                     
 





                                        
 

                                                
       

                        
                                  
 
                                                                                    
                                                                 










                                                                     


   
 
 

#pragma once

#include "PassiveAggressiveMonster.h"





class cEnderman :
	public cPassiveAggressiveMonster
{
	typedef cPassiveAggressiveMonster super;
	
public:
	cEnderman(void);

	CLASS_PROTODEF(cEnderman);

	virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
	virtual void Tick(float a_Dt, cChunk & a_Chunk) override;

	bool IsScreaming(void) const {return m_bIsScreaming; }
	BLOCKTYPE GetCarriedBlock(void) const {return CarriedBlock; }
	NIBBLETYPE GetCarriedMeta(void) const {return CarriedMeta; }

private:

	bool m_bIsScreaming;
	BLOCKTYPE CarriedBlock;
	NIBBLETYPE CarriedMeta;

} ;