summaryrefslogtreecommitdiff
path: root/src/Model/Unit/Miner.php
blob: 06c6ddacea32ab77f03c7d13b95980a2835ea867 (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 Miner extends Unit
{
  public string $buildingType = 'IronMine';
  public int $travelTime = 1;
  public int $populationDemandFactor = 1;

  public array $resourceRequirementsBase = [
    'wood' => 100,
    'clay' => 100,
    'iron' => 200,
    'food' => 200,
  ];
  public array $resourceRequirementsFactor = [
    'wood' => 1.0,
    'clay' => 1.0,
    'iron' => 2.0,
    'food' => 2.0,
  ];
}