summaryrefslogblamecommitdiffstats
path: root/src/Entities/WitherSkullEntity.h
blob: f70b71bf5ec01d8f1021d3ddf2847b8956fe7a20 (plain) (tree)
1
2
3
4
5
6
7
8
9
 
                      

                                                                                                          
 



 












                             
                    
 
                                        
 
                        
 
                                          
 
                                                                                  
 
          
 
                                       

                                                                                       
 
                    



 

// WitherSkullEntity.h

// Declares the cWitherSkullEntity class representing the entity used by both blue and black wither skulls





#pragma once

#include "ProjectileEntity.h"





// tolua_begin

class cWitherSkullEntity :
public cProjectileEntity
{
	// tolua_end

	using super = cProjectileEntity;

public:  // tolua_export

	CLASS_PROTODEF(cWitherSkullEntity)

	cWitherSkullEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed);

protected:

	// cProjectileEntity overrides:
	virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
	virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) override;

} ;  // tolua_export