]> git.lizzy.rs Git - dragonblocks3d.git/blobdiff - src/block.cpp
New structure
[dragonblocks3d.git] / src / block.cpp
diff --git a/src/block.cpp b/src/block.cpp
new file mode 100644 (file)
index 0000000..b226914
--- /dev/null
@@ -0,0 +1,12 @@
+#include "block.hpp" 
+
+using namespace dragonblocks;
+
+BlockDef *Block::getDef() const
+{
+       return def;
+}
+
+Block::Block(BlockDef *d) : def(d)
+{
+}