blob: b96f3cadfc1a9eecbba004f8cff8e69db6959b6b (
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 Diplomat extends Unit
{
public string $buildingType = 'Embassy';
public int $buildTimeFactor = 10;
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,
];
}
|