diff options
Diffstat (limited to 'game/shared')
| -rw-r--r-- | game/shared/feature.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/shared/feature.hh b/game/shared/feature.hh index eb7cf2a..f5fe73b 100644 --- a/game/shared/feature.hh +++ b/game/shared/feature.hh @@ -11,6 +11,8 @@ class Feature final : public std::vector<std::pair<voxel_pos, voxel_id>> { public: explicit Feature(void) = default; virtual ~Feature(void) = default; + +public: void place(const voxel_pos &vpos, Dimension *dimension, bool overwrite = false) const; void place(const voxel_pos &vpos, const chunk_pos &cpos, VoxelStorage &voxels, bool overwrite = false) const; }; |
