Files
cuberite-2a/src/Entities/FireChargeEntity.h
T

46 lines
692 B
C++
Raw Normal View History

// FireChargeEntity.h
// Declares the cFireChargeEntity representing the fire charge shot by the blaze
#pragma once
#include "ProjectileEntity.h"
2014-04-26 17:58:06 -07:00
// tolua_begin
class cFireChargeEntity :
public cProjectileEntity
{
typedef cProjectileEntity super;
2016-02-05 23:45:45 +02:00
public:
2016-02-05 23:45:45 +02:00
// tolua_end
2016-02-05 23:45:45 +02:00
CLASS_PROTODEF(cFireChargeEntity)
2016-02-05 23:45:45 +02:00
cFireChargeEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed);
2016-02-05 23:45:45 +02:00
protected:
2016-02-05 23:45:45 +02:00
2015-05-24 12:56:56 +01:00
void Explode(Vector3i a_Block);
2016-02-05 23:45:45 +02:00
// cProjectileEntity overrides:
virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) override;
2016-02-05 23:45:45 +02:00
2014-07-17 22:15:34 +02:00
} ; // tolua_export