void SimpleLod::displayTileStatus(int row, int col) { IlvTile* tile = _tiledLayer->getTileController()->getTile(col, row); if (!tile) IlvPrint("The tile %d %d is not yet loaded", col, row); else { IlvTileStatus status; status = tile->getStatus(); switch(status) { case IlvTileEmpty: IlvPrint("The tile %d %d is empty", col, row); break; case IlvTileLocked: IlvPrint("The tile %d %d is locked", col, row); break; case IlvTileCached: IlvPrint("The tile %d %d is cached", col, row); break; case IlvTileDeleted: IlvPrint("The tile %d %d is deleted", col, row); break; } } } |