public void OnShipPowerup(HomeportShip ship, IReadOnlyCollection <HomeportShip> consumed, bool success) { foreach (var c in Counters) { if (c is ShipPowerupCounter pc) { pc.OnShipPowerup(StatePersist, ship, consumed, success); } } UpdateProgress(); }
public ShipGroup(HomeportShip ship, int count) { Ship = ship; Count = count; }
internal HomeportSlot(HomeportShip ship, int index) { Ship = ship; Index = index; }