summaryrefslogtreecommitdiffstats
path: root/src/Blocks/WorldInterface.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-25 20:14:14 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-25 20:14:14 +0100
commit15b92af166e03e3deb8baf5eb2ec6b0be5981646 (patch)
tree49367551eb466edce81ed6f68507ab60c6efe3df /src/Blocks/WorldInterface.h
parentdded dependecy on Blocks to Generator (diff)
downloadcuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar
cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.gz
cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.bz2
cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.lz
cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.xz
cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.tar.zst
cuberite-15b92af166e03e3deb8baf5eb2ec6b0be5981646.zip
Diffstat (limited to 'src/Blocks/WorldInterface.h')
-rw-r--r--src/Blocks/WorldInterface.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h
new file mode 100644
index 000000000..8cf2103d1
--- /dev/null
+++ b/src/Blocks/WorldInterface.h
@@ -0,0 +1,13 @@
+
+#pragma once
+
+class cWorldInterface
+{
+public:
+
+ virtual Int64 GetTimeOfDay(void) const;
+
+ virtual eDimension GetDimension(void) const;
+
+ virtual void BroadcastUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ );
+};