diff options
Diffstat (limited to 'Runtime/Animation/Motion.cpp')
-rw-r--r-- | Runtime/Animation/Motion.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Runtime/Animation/Motion.cpp b/Runtime/Animation/Motion.cpp new file mode 100644 index 0000000..6a30490 --- /dev/null +++ b/Runtime/Animation/Motion.cpp @@ -0,0 +1,28 @@ +#include "UnityPrefix.h" +#include "Motion.h" +#include "Runtime/BaseClasses/GameObject.h" +#include "Runtime/Serialize/TransferFunctions/SerializeTransfer.h" +#include "Runtime/BaseClasses/MessageIdentifier.h" +#include "Runtime/Misc/UserList.h" + +Motion::Motion (MemLabelId label, ObjectCreationMode mode) : Super (label, mode), m_ObjectUsers(this) +{ } + +Motion::~Motion () +{ + +} + + +void Motion::NotifyObjectUsers(const MessageIdentifier& msg) +{ + m_ObjectUsers.SendMessage(msg); +} + +void Motion::AddObjectUser( UserList& user ) +{ + m_ObjectUsers.AddUser(user); +} + +IMPLEMENT_CLASS (Motion) + |