Shakeskeyboarde / neverhaven

ISC License
1 stars 0 forks source link

Give game graph nodes an attributes map. #9

Open Shakeskeyboarde opened 1 month ago

Shakeskeyboarde commented 1 month ago

Nodes will use composition instead of inheritance. This will be in the form of an attributes map, where there are attribute slots where optional node attributes can be injected. For instance, one attribute might control how the node is rendered in the world. Another might be it's AI. And another might be its inventory.