summaryrefslogtreecommitdiffstats
path: root/source/Simulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Simulator.h')
-rw-r--r--source/Simulator.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/Simulator.h b/source/Simulator.h
new file mode 100644
index 000000000..158e74b99
--- /dev/null
+++ b/source/Simulator.h
@@ -0,0 +1,20 @@
+#pragma once
+
+class Vector3i;
+class cWorld;
+class cSimulator
+{
+public:
+ cSimulator( cWorld* a_World );
+ ~cSimulator();
+
+ virtual void Simulate( float a_Dt ) = 0;
+ virtual void WakeUp( int a_X, int a_Y, int a_Z );
+
+ virtual bool IsAllowedBlock( char a_BlockID ) = 0;
+
+protected:
+ virtual void AddBlock(int a_X, int a_Y, int a_Z) = 0;
+
+ cWorld * m_World;
+}; \ No newline at end of file