mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add drop.json
This commit is contained in:
parent
8d41f6af11
commit
20ab48ecab
8 changed files with 28 additions and 13 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define OBJECTS_ENTITY_DEF_HPP_
|
||||
|
||||
#include <string>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "../typedefs.hpp"
|
||||
|
||||
|
|
@ -10,6 +11,7 @@ struct EntityDef {
|
|||
std::string const name;
|
||||
|
||||
std::string scriptName = name.substr(name.find(':')+1);
|
||||
glm::vec3 hitbox {0.5f};
|
||||
|
||||
struct {
|
||||
entityid_t id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue