1 2 3 4 5 6 7 8
#pragma once struct Behaviour { virtual ~Behaviour() = default; virtual void update(float dt) = 0; };