-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Party Class #98
Comments
@nskins I can take a look at this this weekend. My schedule is a bit wonky over these next few weeks, but I should be able to make some progress on this on the weekends and random weeknights when I'm free. |
@rdavid1099 Great! I will try to help work on it. It will be nice to have two pairs of eyes looking at this one. I foresee some design choices that I'm not entirely sure about myself... |
@nskins For sure... this seems like a really fun problem to tackle. Like I said, most of my free time will be on the weekends, but I will keep in contact. 😄 |
Update on this issue: I implemented much of the $ use apple becomes $ nick use apple since the party member must be specified. The The other issue is that the battle system must be rewritten to account for multiple Entities in battle. Various changes are necessary. At the very end, we can delete all of the functions that are in |
Hi @rdavid1099, I want to let you know that all that remains is implementing |
We should write a class called
Party
that can hold a variable number ofEntity
members. This would make it so that one can control multiplePlayers
on the world map and in battle. Additionally, we can then fight multipleMonsters
on the world map.Many of the functions from the
Player
class will likely be moved over toParty
(such as#battle
). We will need to make it so that#save_game
and#load_game
save theParty
instead of thePlayer
. One invariant might be that noEntity
can 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
party
branch.The text was updated successfully, but these errors were encountered: