]> git.lizzy.rs Git - dragonblocks3d.git/blob - src/block_def.hpp
New structure
[dragonblocks3d.git] / src / block_def.hpp
1 #pragma once
2
3 #include <string>
4 #include "gl.hpp"
5 #include "tile_def.hpp"
6
7 namespace dragonblocks
8 {
9         class BlockDef
10         {
11                 public:         
12                 std::string name;
13                 TileDef tile_def;
14                 bool drawable = true;
15                 
16                 BlockDef(const std::string &);
17                 BlockDef(const std::string &, const TileDef &);
18         };
19