MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / isBuildableUpon

Method isBuildableUpon

source/entities/Tile.cpp:945–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943}
944
945bool Tile::isBuildableUpon(Seat* seat) const
946{
947 if(isFullTile())
948 return false;
949 if(getIsBuilding())
950 return false;
951 if(!isClaimedForSeat(seat))
952 return false;
953
954 return true;
955}
956
957void Tile::setCoveringBuilding(Building *building)
958{

Callers 9

checkBuildTrapMethod · 0.80
buildTrapMethod · 0.80
getTrapTilesDefaultMethod · 0.80
canBeRepairedMethod · 0.80
getCostRepairMethod · 0.80
repairRoomMethod · 0.80
getRoomTilesDefaultMethod · 0.80
checkTreasuryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected