mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Implement IOwnableObject interface for shipyard
This commit is contained in:
@ -1227,6 +1227,21 @@ BoatId CGShipyard::getBoatType() const
|
||||
return createdBoat;
|
||||
}
|
||||
|
||||
const IOwnableObject * CGShipyard::asOwnable() const
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
ResourceSet CGShipyard::dailyIncome() const
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<CreatureID> CGShipyard::providedCreatures() const
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
void CGDenOfthieves::onHeroVisit (const CGHeroInstance * h) const
|
||||
{
|
||||
cb->showObjectWindow(this, EOpenWindowMode::THIEVES_GUILD, h, false);
|
||||
|
Reference in New Issue
Block a user