fix teams
This commit is contained in:
@@ -77,7 +77,7 @@ public:
|
|||||||
struct TeamList {
|
struct TeamList {
|
||||||
std::array<Team, 2> m_Teams;
|
std::array<Team, 2> m_Teams;
|
||||||
|
|
||||||
TeamList() : m_Teams{Team{TeamColor::Red}, Team{TeamColor::Blue}}{
|
TeamList() : m_Teams{Team{TeamColor::Blue}, Team{TeamColor::Red}}{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ class World {
|
|||||||
return m_CurrentState->m_Teams[TeamColor::Blue];
|
return m_CurrentState->m_Teams[TeamColor::Blue];
|
||||||
}
|
}
|
||||||
const Team& GetBlueTeam() const {
|
const Team& GetBlueTeam() const {
|
||||||
return m_CurrentState->m_Teams[TeamColor::Red];
|
return m_CurrentState->m_Teams[TeamColor::Blue];
|
||||||
}
|
}
|
||||||
|
|
||||||
Team& GetTeam(TeamColor team) {
|
Team& GetTeam(TeamColor team) {
|
||||||
|
|||||||
Reference in New Issue
Block a user