blob: 585a1f6d5237f39ccfbae4c9b2e6e0538fa57480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
namespace App\Model\Unit;
use App\Model\Unit;
class Farmer extends Unit
{
public string $buildingType = 'Farm';
public int $buildTimeFactor = 1;
public int $travelTime = 1;
public int $populationDemandFactor = 1;
public array $resourceRequirementsBase = [
'wood' => 100,
'clay' => 100,
'iron' => 100,
'food' => 0,
];
public array $resourceRequirementsFactor = [
'wood' => 1.0,
'clay' => 1.0,
'iron' => 1.0,
'food' => 0,
];
}
|