add entities.def_hitbox function

This commit is contained in:
MihailRis
2024-10-29 21:16:25 +03:00
parent e37e45d9d5
commit effdac2d4d
4 changed files with 18 additions and 2 deletions
+3 -2
View File
@@ -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;
}
}