blob: 18f3b57ba89e4b030805919d877a8bcade46f0a7 [file] [log] [blame]
#include "ActorRootBone.hpp"
using namespace nima;
ActorRootBone::ActorRootBone() : ActorNode(Node::Type::ActorRootBone)
{
}
ActorNode* ActorRootBone::makeInstance(Actor* resetActor)
{
ActorRootBone* instanceNode = new ActorRootBone();
instanceNode->copy(this, resetActor);
return instanceNode;
}
void ActorRootBone::copy(ActorRootBone* node, Actor* resetActor)
{
ActorNode::copy(node, resetActor);
}
ActorRootBone* ActorRootBone::read(Actor* actor, BlockReader* reader, ActorRootBone* node)
{
if(node == NULL)
{
node = new ActorRootBone();
}
ActorNode::read(actor, reader, node);
return node;
}