Skip to content

Commit

Permalink
Party class rework
Browse files Browse the repository at this point in the history
  • Loading branch information
ramon-bernardo committed Oct 31, 2024
1 parent 7bfde72 commit c8b746d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/party.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ class Player;
class Party
{
public:
explicit Party(Player* leader) : leader(leader) { leader->setParty(this); }

Player* leader;

std::vector<Player*> members;
Expand All @@ -20,7 +18,7 @@ class Party
{
bool active = false;
bool enabled = false;
std::map<uint32_t, int64_t> attackTicks;
std::map<Player*, int64_t> attackTicks;
} sharedExperience;
};

Expand Down

0 comments on commit c8b746d

Please sign in to comment.