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