The maximum amount of karbonite harvested from a deposit in one turn. InappropriateUnitType - the unit is not a worker.
(&self)
| 663 | /// |
| 664 | /// * InappropriateUnitType - the unit is not a worker. |
| 665 | pub fn worker_harvest_amount(&self) -> Result<u32, GameError> { |
| 666 | self.ok_if_unit_type(Worker)?; |
| 667 | Ok(self.harvest_amount) |
| 668 | } |
| 669 | |
| 670 | /// Ok if the worker can perform a worker action (building, blueprinting, |
| 671 | /// harvesting, or replicating). |
no test coverage detected