That is actually what I sortof settled on after a brief talk with @carterza on
gitter
type
RenderOrder* = enum
CORPS, ITEMS, ACTORS
Entity* = ref object of RootObj
x*, y*: int
chr*: char
color*: Color
name*: string
blocks*: bool
renderOrder*: RenderOrder
Orc = ref object of Entity
Kobold = ref object of Entity
Item* = ref object of Entity
Run
- 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
