feat: add castle tooltip

This commit is contained in:
2021-12-12 13:32:39 +01:00
parent 4611a198c9
commit 24617c539f
11 changed files with 133 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
namespace td {
namespace game {
Team::Team(TeamColor color) : m_Color(color) {}
Team::Team(TeamColor color) : m_Color(color), m_TeamCastle(this) {}
void Team::addPlayer(Player* newPlayer) {
m_Players.push_back(newPlayer);