18 lines
575 B
C++
18 lines
575 B
C++
#include "StorageContent.h"
|
|
|
|
#include "BuildingTarget.h"
|
|
|
|
StorageContent::StorageContent(const SelectionContext& context,
|
|
const SelectionRequest& request, QWidget* parent)
|
|
: BufferedBuildingContent(context, request.buildings.front(), parent)
|
|
{
|
|
}
|
|
|
|
BufferedBuildingContent::CycleInfo StorageContent::getCycleInfo(
|
|
const BuildingTarget& /*target*/) const
|
|
{
|
|
// No recipe, no cycle: the card shows the output buffer alone, with no per-cycle
|
|
// denominators and no production progress (REQ-BLD-SALVAGE-BAY).
|
|
return CycleInfo();
|
|
}
|