Skip to content

Party Class #98

@nskins

Description

@nskins

We should write a class called Party that can hold a variable number of Entity members. This would make it so that one can control multiple Players on the world map and in battle. Additionally, we can then fight multiple Monsters on the world map.

Many of the functions from the Player class will likely be moved over to Party (such as #battle). We will need to make it so that #save_game and #load_game save the Party instead of the Player. One invariant might be that no Entity can have the same name as another within a Party (fixes ambiguity issue). I will update this issue as I think of any additional needed changes.

Pull requests can be sent to the party branch.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions