Skip to content

Function Identifier "add_item" has different functionality in Practice 24-2 and lesson 25 #1206

@Joncent

Description

@Joncent

In Practice 24-2 "Increasing Item Counts", the method description for "add_item()" sais it "Increases the item count by amount"

Immediatly after that, in lesson 25 the same identifier "add_item()" is used to display items in the UI. (Just before the heading "Mapping grid cells to units")

Proposed solution: This second function should be renamed to something like "show_item()" or "add_item_to_ui()" in order to not confuse users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentIssues with the lessons, practices, including their code examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions