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