diff options
author | Mattes D <github@xoft.cz> | 2014-03-25 21:02:23 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-25 21:02:23 +0100 |
commit | cac5149974b9cd76abbedc9d08a75b0e4f7b7e03 (patch) | |
tree | 38b2f9d52cb2dc106d4211f61da5953646a4bdeb /src/Entities/EnderCrystal.h | |
parent | Merge pull request #828 from mc-server/Wither (diff) | |
parent | Ender crystals (diff) | |
download | cuberite-cac5149974b9cd76abbedc9d08a75b0e4f7b7e03.tar cuberite-cac5149974b9cd76abbedc9d08a75b0e4f7b7e03.tar.gz cuberite-cac5149974b9cd76abbedc9d08a75b0e4f7b7e03.tar.bz2 cuberite-cac5149974b9cd76abbedc9d08a75b0e4f7b7e03.tar.lz cuberite-cac5149974b9cd76abbedc9d08a75b0e4f7b7e03.tar.xz cuberite-cac5149974b9cd76abbedc9d08a75b0e4f7b7e03.tar.zst cuberite-cac5149974b9cd76abbedc9d08a75b0e4f7b7e03.zip |
Diffstat (limited to 'src/Entities/EnderCrystal.h')
-rw-r--r-- | src/Entities/EnderCrystal.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Entities/EnderCrystal.h b/src/Entities/EnderCrystal.h new file mode 100644 index 000000000..5b86df987 --- /dev/null +++ b/src/Entities/EnderCrystal.h @@ -0,0 +1,33 @@ + +#pragma once + +#include "Entity.h" + + + + + +// tolua_begin +class cEnderCrystal : + public cEntity +{ + // tolua_end + typedef cEntity super; + +public: + CLASS_PROTODEF(cEnderCrystal); + + cEnderCrystal(double a_X, double a_Y, double a_Z); + +private: + + // cEntity overrides: + virtual void SpawnOn(cClientHandle & a_ClientHandle) override; + virtual void Tick(float a_Dt, cChunk & a_Chunk) override; + virtual void KilledBy(cEntity * a_Killer) override; + +}; // tolua_export + + + + |