diff options
Diffstat (limited to 'game/shared/feature.hh')
| -rw-r--r-- | game/shared/feature.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/shared/feature.hh b/game/shared/feature.hh index f5fe73b..b5cb262 100644 --- a/game/shared/feature.hh +++ b/game/shared/feature.hh @@ -7,14 +7,14 @@ class Dimension; class VoxelStorage; -class Feature final : public std::vector<std::pair<voxel_pos, voxel_id>> { +class Feature final : public std::vector<std::tuple<voxel_pos, voxel_id, bool>> { 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; + void place(const voxel_pos &vpos, Dimension *dimension) const; + void place(const voxel_pos &vpos, const chunk_pos &cpos, VoxelStorage &voxels) const; }; #endif /* SHARED_FEATURE_HH */ |
