Files
Seele/src/Engine/Scene/Components/MyComponent.h
T
2022-04-15 23:45:44 +02:00

21 lines
416 B
C++

#pragma once
#include "Component.h"
#include "MyOtherComponent.h"
namespace Seele
{
class MyComponent : public Component
{
public:
MyComponent();
virtual void start();
virtual void tick(float deltatime) const;
virtual void update();
private:
Writable<PMyOtherComponent> otherComp;
Writable<uint32> writable = 0;
uint32 notWritable = 10;
};
DECLARE_REF(MyComponent);
} // namespace Seele