Skip to content

Instantly share code, notes, and snippets.

View jordgubben's full-sized avatar

Jakob Eklund jordgubben

View GitHub Profile
#include <vector>
namespace NotUnityExceptItSortOfIsUnity {
class GameObject;
class Component {
public:
virtual void Update(float dt) {/* Do nothing by default*/};
protected:
GameObject* _owner;