2014-07-17 08:24:29 +00:00
|
|
|
|
2014-10-21 19:25:52 +00:00
|
|
|
// WitherSkullEntity.h
|
2014-07-17 08:24:29 +00:00
|
|
|
|
|
|
|
// Declares the cWitherSkullEntity class representing the entity used by both blue and black wither skulls
|
2014-06-06 07:16:33 +00:00
|
|
|
|
2014-10-21 19:25:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-06 07:16:33 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ProjectileEntity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// tolua_begin
|
|
|
|
|
|
|
|
class cWitherSkullEntity :
|
|
|
|
public cProjectileEntity
|
|
|
|
{
|
2019-09-29 12:59:24 +00:00
|
|
|
// tolua_end
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2020-04-13 16:38:06 +00:00
|
|
|
using Super = cProjectileEntity;
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2019-09-29 12:59:24 +00:00
|
|
|
public: // tolua_export
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2014-07-22 22:36:13 +00:00
|
|
|
CLASS_PROTODEF(cWitherSkullEntity)
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2019-09-29 12:59:24 +00:00
|
|
|
cWitherSkullEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed);
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2014-06-06 07:16:33 +00:00
|
|
|
protected:
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2014-06-06 07:16:33 +00:00
|
|
|
// cProjectileEntity overrides:
|
2017-09-07 08:25:34 +00:00
|
|
|
virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
|
|
|
|
virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) override;
|
2016-02-05 21:45:45 +00:00
|
|
|
|
2014-07-17 20:15:34 +00:00
|
|
|
} ; // tolua_export
|
2014-10-21 19:25:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|