29 lines
665 B
C++
29 lines
665 B
C++
#ifndef BoneAttachmentSystem_h__
|
|
#define BoneAttachmentSystem_h__
|
|
|
|
#include "GLM.h"
|
|
|
|
#include "Common.h"
|
|
#include "Core/System.h"
|
|
#include "Core/ResourceManager.h"
|
|
#include "Rendering/Model.h"
|
|
#include "Rendering/Skeleton.h"
|
|
|
|
//Needs to be a higher orderlevel than AnimationSystem
|
|
class BoneAttachmentSystem : public PureSystem
|
|
{
|
|
public:
|
|
BoneAttachmentSystem(World* world, EventBroker* eventBroker)
|
|
: System(world, eventBroker)
|
|
, PureSystem("BoneAttachment")
|
|
{
|
|
|
|
}
|
|
~BoneAttachmentSystem() { }
|
|
virtual void UpdateComponent(EntityWrapper& entity, ComponentWrapper& BoneAttachmentComponent, double dt) override;
|
|
private:
|
|
|
|
|
|
};
|
|
|
|
#endif |