well in my previous iteration players,mobs,items were all entity's(with field of type option[Fighter]) and when rendering to screen I could just pass them along in one big seq: seq[Entity] the first one in that seq was the player for no big reason. But now I can't really put them in a seq since it wants specifically Entity. So my rendering code also has to change since it can't receive one big seq of what to draw. How could I change the rendering code to conform to the new style of inheritance?
- Any advice on doing composition well in Nim zetashift
- Re: Any advice on doing composition well in Nim carterza
- Re: Any advice on doing composition well in Nim zetashift
- Re: Any advice on doing composition well in Nim nucky9
- Re: Any advice on doing composition well in Nim zetashift
- Re: Any advice on doing composition well i... nucky9
- Re: Any advice on doing composition we... zetashift
- Re: Any advice on doing compositio... nucky9
- Re: Any advice on doing compositio... zetashift
- Re: Any advice on doing compositio... nucky9
- Re: Any advice on doing compositio... zetashift
- Re: Any advice on doing compositio... nucky9
- Re: Any advice on doing compositio... zetashift
- Re: Any advice on doing compositio... zetashift
