diff options
author | archshift <admin@archshift.com> | 2014-04-27 02:19:45 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-27 02:19:45 +0200 |
commit | 2f9580ad650ff69e71991b87d6b554ce080624a3 (patch) | |
tree | 19eddb39a9228363ddae9794455407e1ef342d9a /src/Entities/ProjectileExpBottle.h | |
parent | Moved cThrownEnderPearl out of ProjectileEntity.h (diff) | |
download | cuberite-2f9580ad650ff69e71991b87d6b554ce080624a3.tar cuberite-2f9580ad650ff69e71991b87d6b554ce080624a3.tar.gz cuberite-2f9580ad650ff69e71991b87d6b554ce080624a3.tar.bz2 cuberite-2f9580ad650ff69e71991b87d6b554ce080624a3.tar.lz cuberite-2f9580ad650ff69e71991b87d6b554ce080624a3.tar.xz cuberite-2f9580ad650ff69e71991b87d6b554ce080624a3.tar.zst cuberite-2f9580ad650ff69e71991b87d6b554ce080624a3.zip |
Diffstat (limited to 'src/Entities/ProjectileExpBottle.h')
-rw-r--r-- | src/Entities/ProjectileExpBottle.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Entities/ProjectileExpBottle.h b/src/Entities/ProjectileExpBottle.h new file mode 100644 index 000000000..1f9482bf2 --- /dev/null +++ b/src/Entities/ProjectileExpBottle.h @@ -0,0 +1,33 @@ +// +// ProjectileExpBottle.h +// + +#pragma once + +#include "ProjectileEntity.h" + + + + + +class cExpBottleEntity : +public cProjectileEntity +{ + typedef cProjectileEntity super; + +public: + + // tolua_end + + CLASS_PROTODEF(cExpBottleEntity); + + cExpBottleEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed); + +protected: + + // cProjectileEntity overrides: + virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override; + + // tolua_begin + +};
\ No newline at end of file |