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.
We should write a class called
Partythat can hold a variable number ofEntitymembers. This would make it so that one can control multiplePlayerson the world map and in battle. Additionally, we can then fight multipleMonsterson the world map.Many of the functions from the
Playerclass will likely be moved over toParty(such as#battle). We will need to make it so that#save_gameand#load_gamesave thePartyinstead of thePlayer. One invariant might be that noEntitycan have the same name as another within aParty(fixes ambiguity issue). I will update this issue as I think of any additional needed changes.Pull requests can be sent to the
partybranch.