Skip to content

Book content contradicts state of the codebase #226

@PierreGuyot

Description

@PierreGuyot

let content = ecs.fetch::<Map>().tile_content[tile_idx as usize].clone();

At this point in the project, the tile_content field has been removed due to a previous refactor (extracting the /spatial folder).
This loop needs to be replaced with the for_each_tile_content helper.

UPDATE: there seems to be other occurrences of this in the following chapters too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions