etzl / among-stars

Simple game in terminal
GNU General Public License v3.0
0 stars 0 forks source link

OOP design #4

Open etzl opened 2 years ago

etzl commented 2 years ago

The design of the base class should be changed. For example, I had an idea (and worked to some level) of creating a base class of 'drawable' objects which carry their window to draw on and free them on destruction. But this became a failed attempt, since each enemy by dying free() stdscr, which makes it impossible even to play

etzl commented 2 years ago

5