Jobs table implementation for r/roguelikedev project #
In the last post I mentioned that while working on my colony simulator game for the r/roguelikedev summer event, I ran into a situation where my data structures made me unhappy. I was implementing a job system, where a colonist would keep track of what job they're doing, what items they're holding, and where they are standing. It looked like this before I rewrote it:
![Object relationships diagram](https://www.redblobgames.com/x/2327-roguelike-dev/build/data-objects.png)
Labels: programming , structure
Subscribe to:
Posts
(
Atom
)