2014-07-17 04:24:29 -04:00
|
|
|
|
2014-10-21 15:25:52 -04:00
|
|
|
// WitherSkullEntity.h
|
2014-07-17 04:24:29 -04:00
|
|
|
|
|
|
|
// Declares the cWitherSkullEntity class representing the entity used by both blue and black wither skulls
|
2014-06-06 03:16:33 -04:00
|
|
|
|
2014-10-21 15:25:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-06 03:16:33 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ProjectileEntity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// tolua_begin
|
|
|
|
|
|
|
|
class cWitherSkullEntity :
|
|
|
|
public cProjectileEntity
|
|
|
|
{
|
|
|
|
typedef cProjectileEntity super;
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-06-06 03:16:33 -04:00
|
|
|
public:
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-06-06 03:16:33 -04:00
|
|
|
// tolua_end
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-07-22 18:36:13 -04:00
|
|
|
CLASS_PROTODEF(cWitherSkullEntity)
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-06-06 03:16:33 -04:00
|
|
|
cWitherSkullEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed);
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-06-06 03:16:33 -04:00
|
|
|
protected:
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-06-06 03:16:33 -04:00
|
|
|
// cProjectileEntity overrides:
|
|
|
|
virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override;
|
2014-10-21 15:25:52 -04:00
|
|
|
virtual void OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos) override;
|
2016-02-05 16:45:45 -05:00
|
|
|
|
2014-07-17 16:15:34 -04:00
|
|
|
} ; // tolua_export
|
2014-10-21 15:25:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|