


The game map will have a reference to Engine, and entities will have a reference to the map.Event handlers will have the handle_events method instead of Engine.I won’t explain all of the changes (again, time is a limiting factor), but here’s the basic ideas: But until then, there’s several changes that need to be made before proceeding with Part 6. Someday, when the event is over, the previous parts will be rewritten, and all will be well. It wouldn’t be fair to those who are following this tutorial on a weekly basis.Writing the sections that get published every week is taking all of my time as it is. I would go back and edit the tutorial text and Github branches to reflect these changes, except for two things: Unfortunately, this means that code written in previous parts now has to be modified. This version of TCOD was released during the tutorial event, so if you’re following along on a weekly basis, you probably don’t have this version installed! Refactoring previous codeĪfter parts 1-5 for this tutorial were written, we decided to change a few things around, to hopefully make the codebase a bit cleaner and easier to extend in the future. Before proceeding any further, you’ll want to upgrade to TCOD version 11.15, if you don’t already have it.
