Skip to content

Chapter 2 - Pg 42 - Game::Shutdown() or Game::UnloadData() #28

@KevinRunge

Description

@KevinRunge

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:

The actual loop which is given in the book is in the member function Game::UnloadData() (which is actually called from Game::Shutdown)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions