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