fix warnings + cland-tidy
This commit is contained in:
@@ -7,7 +7,7 @@ namespace game {
|
||||
|
||||
World::World() : m_CurrentState{.m_Teams{Team{TeamColor::Red}, Team{TeamColor::Blue}}}, m_NextState{.m_Teams{Team{TeamColor::Red}, Team{TeamColor::Blue}}} {}
|
||||
|
||||
const Color* World::GetTileColor(TilePtr tile) const {
|
||||
const Color* World::GetTileColor(const TilePtr& tile) const {
|
||||
switch (tile->GetType()) {
|
||||
case TileType::Tower: {
|
||||
TowerTile* towerTile = dynamic_cast<TowerTile*>(tile.get());
|
||||
|
||||
Reference in New Issue
Block a user