| 209 | } |
| 210 | |
| 211 | void Tile::exportToStream(std::ostream& os) const |
| 212 | { |
| 213 | os << getX() << "\t" << getY() << "\t"; |
| 214 | os << getType() << "\t" << getFullness(); |
| 215 | if(getSeat() == nullptr) |
| 216 | return; |
| 217 | |
| 218 | os << "\t" << getSeat()->getId(); |
| 219 | } |
| 220 | |
| 221 | ODPacket& operator<<(ODPacket& os, const TileType& type) |
| 222 | { |