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

Method hasChangedForSeat

source/entities/Tile.cpp:751–762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751bool Tile::hasChangedForSeat(Seat* seat) const
752{
753 for(const std::pair<Seat*, bool>& seatChanged : mTileChangedForSeats)
754 {
755 if(seatChanged.first != seat)
756 continue;
757
758 return seatChanged.second;
759 }
760 OD_LOG_ERR("tile=" + Tile::displayAsString(this) + ", unknown seat id=" + Helper::toString(seat->getId()));
761 return false;
762}
763
764void Tile::changeNotifiedForSeat(Seat* seat)
765{

Callers 1

Calls 2

toStringFunction · 0.50
getIdMethod · 0.45

Tested by

no test coverage detected