DrStrangelove42 / DreamOfaRidiculousMan

Rogue-like game
MIT License
0 stars 0 forks source link

RenderContext base as an abstract class #6

Closed vbonczak closed 3 years ago

vbonczak commented 3 years ago

RenderContext should (ideally) be an abstract class, and its SDL implementation a derived class. This would solve the design problem of having to call a dummy constructor to run tests (with MockRenderContext)