mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
17 lines
427 B
C++
17 lines
427 B
C++
#include "EntityDef.hpp"
|
|
|
|
|
|
void EntityDef::cloneTo(EntityDef& dst) {
|
|
dst.components = components;
|
|
dst.bodyType = bodyType;
|
|
dst.hitbox = hitbox;
|
|
dst.boxSensors = boxSensors;
|
|
dst.radialSensors = radialSensors;
|
|
dst.skeletonName = skeletonName;
|
|
dst.blocking = blocking;
|
|
dst.solid = solid;
|
|
dst.mass = mass;
|
|
dst.elasticity = elasticity;
|
|
dst.stepHeight = stepHeight;
|
|
dst.save = save;
|
|
}
|