summaryrefslogtreecommitdiffstats
path: root/src/Entities/EnderCrystal.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-03-25 19:59:33 +0100
committerandrew <xdotftw@gmail.com>2014-03-25 19:59:33 +0100
commit2e28c09770a937b253680d7f62b9b2f4c8f4670c (patch)
tree60bc0e8da8940df8acd338692ac8a95327b2347e /src/Entities/EnderCrystal.h
parentPlugins can set flying speed. (diff)
downloadcuberite-2e28c09770a937b253680d7f62b9b2f4c8f4670c.tar
cuberite-2e28c09770a937b253680d7f62b9b2f4c8f4670c.tar.gz
cuberite-2e28c09770a937b253680d7f62b9b2f4c8f4670c.tar.bz2
cuberite-2e28c09770a937b253680d7f62b9b2f4c8f4670c.tar.lz
cuberite-2e28c09770a937b253680d7f62b9b2f4c8f4670c.tar.xz
cuberite-2e28c09770a937b253680d7f62b9b2f4c8f4670c.tar.zst
cuberite-2e28c09770a937b253680d7f62b9b2f4c8f4670c.zip
Diffstat (limited to 'src/Entities/EnderCrystal.h')
-rw-r--r--src/Entities/EnderCrystal.h33
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
+
+
+
+