mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
update ContentUnitIndices
This commit is contained in:
parent
55e4e6de02
commit
c3c343ffdb
9 changed files with 38 additions and 26 deletions
|
|
@ -11,11 +11,13 @@
|
|||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class Block;
|
||||
class Level;
|
||||
class GlobalChunks;
|
||||
|
||||
template <typename T>
|
||||
template <typename T, typename IdType>
|
||||
class ContentUnitIndices;
|
||||
|
||||
namespace voxels {
|
||||
|
|
@ -82,7 +84,7 @@ namespace voxels {
|
|||
private:
|
||||
const Level& level;
|
||||
const GlobalChunks& chunks;
|
||||
const ContentUnitIndices<Block>& blockDefs;
|
||||
const ContentUnitIndices<Block, blockid_t>& blockDefs;
|
||||
std::unordered_map<int, Agent> agents;
|
||||
int nextAgent = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue