So I understand the hierarchy with the current type structure however most of
my rendering-to-screen code and instantiating code is getting all spaghetti.
I'm rewriting most of it and want to do it properly. I'm stumbling upon a
roadblock(mostly because I don't know much about inheritance).
my
proc render(w: World, entities: seq[Entities]
Run
is the main pipeline in rendering but now that most entities are either a
(single) Player or a Mob my seq[Entities] is invalid. What would be a way to
solve this? Should I make a something like:
proc renderPlayer() = discard
proc renderMob() = discard
Run