mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix and refactor ContentLUT
This commit is contained in:
parent
ee9f1639e9
commit
1acced4475
5 changed files with 99 additions and 107 deletions
16
src/objects/EntityDef.hpp
Normal file
16
src/objects/EntityDef.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef OBJECTS_ENTITY_DEF_HPP_
|
||||
#define OBJECTS_ENTITY_DEF_HPP_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "../typedefs.hpp"
|
||||
|
||||
struct EntityDef {
|
||||
/// @brief Entity string id (with prefix included)
|
||||
std::string const name;
|
||||
|
||||
EntityDef(const std::string& name);
|
||||
EntityDef(const EntityDef&) = delete;
|
||||
};
|
||||
|
||||
#endif // OBJECTS_ENTITY_DEF_HPP_
|
||||
Loading…
Add table
Add a link
Reference in a new issue