Closed KevinRunge closed 5 years ago
The book is a great learning experience, so please forgive any too detailed comments.
In chapter 2 page 42 the line
However, this means that the code that loops over the mActors vector and deletes the actors (such as in Game::Shutdown) must be written carefully:
mActors
Game::Shutdown
The actual loop which is given in the book is in the member function Game::UnloadData() (which is actually called from Game::Shutdown)
Game::UnloadData()
Good catch, I'll update the errata with this
The book is a great learning experience, so please forgive any too detailed comments.
In chapter 2 page 42 the line
The actual loop which is given in the book is in the member function
Game::UnloadData()
(which is actually called fromGame::Shutdown
)