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

            
                    


                                            



 
                     
                       
 
                               
 
       
                            
 
                                     
 
                                                                                       
                                                               
                                                                      
 
                                                             






                                                       



   
 
#pragma once

#include "Monster.h"
#include "Behaviors/BehaviorAttackerMelee.h"
#include "Behaviors/BehaviorWanderer.h"
#include "Behaviors/BehaviorAggressive.h"




class cZombiePigman :
	public cMonster
{
	typedef cMonster super;

public:
	cZombiePigman(void);

	CLASS_PROTODEF(cZombiePigman)

	virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
	virtual void KilledBy(TakeDamageInfo & a_TDI) override;
	virtual void SpawnOn(cClientHandle & a_ClientHandle) override;

	virtual bool IsUndead(void) override { return true; }

	// tick behaviors
	cBehaviorAttackerMelee m_BehaviorAttackerMelee;
	cBehaviorWanderer m_BehaviorWanderer;

	// other behaviors
	cBehaviorAggressive m_BehaviorAggressive;
} ;