blob: baee88ae0ac910254b0f08a4d9264e9349a400ef (
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
|
<?php
namespace App\Model\Unit;
use App\Model\Unit;
class Diplomat extends Unit
{
public string $buildingType = 'Embassy';
public int $travelTime = 1;
public int $populationDemandFactor = 1;
public array $resourceRequirementsBase = [
'wood' => 500,
'clay' => 500,
'iron' => 500,
'food' => 500,
];
public array $resourceRequirementsFactor = [
'wood' => 5.0,
'clay' => 5.0,
'iron' => 5.0,
'food' => 5.0,
];
}
|