VedVid / RAWIG

RAWIG (Roguelike Architecture, Written In Go) is ready to modify and expand roguelike architecture.
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Clean rendering functions #41

Closed VedVid closed 5 years ago

VedVid commented 5 years ago

For example, RenderCreatures does sort all Creatures! It's not effective in terms of performance, not elegant (it's rendering function, it should do display work only), and makes whole rendering codebase a bit inconsistent ("range" vs "iterate downwards").

VedVid commented 5 years ago

Reverting 667b9d085d3c60d8030e1d6c89fb15eec5a35f37 by a6dc4ac74c66136a8630c7922b55650059979a56 closes that issue.