*
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef Component_h__
|
||||
#define Component_h__
|
||||
|
||||
#include <memory>
|
||||
#include "ObjectsFactory.h"
|
||||
|
||||
LOBJECT(Component, Object)
|
||||
public:
|
||||
GameObjectPtr gameObject;
|
||||
TransformPtr transform();
|
||||
virtual void tick(float deltaTime) {}
|
||||
Component(){}
|
||||
|
||||
void serialize(Archive& archive) override;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // Component_h__
|
||||
Reference in New Issue
Block a user