mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add entities.def_hitbox function
This commit is contained in:
parent
e37e45d9d5
commit
effdac2d4d
4 changed files with 18 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
|||
#include "EntityDef.hpp"
|
||||
|
||||
|
||||
void EntityDef::cloneTo(EntityDef& dst) {
|
||||
dst.components = components;
|
||||
dst.bodyType = bodyType;
|
||||
|
|
@ -8,5 +10,4 @@ void EntityDef::cloneTo(EntityDef& dst) {
|
|||
dst.skeletonName = skeletonName;
|
||||
dst.blocking = blocking;
|
||||
dst.save = save;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue