summaryrefslogtreecommitdiff
path: root/src/Model/Unit/Merchant.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Unit/Merchant.php')
-rw-r--r--src/Model/Unit/Merchant.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Model/Unit/Merchant.php b/src/Model/Unit/Merchant.php
new file mode 100644
index 0000000..61e2090
--- /dev/null
+++ b/src/Model/Unit/Merchant.php
@@ -0,0 +1,18 @@
+<?php
+
+namespace App\Model\Unit;
+
+use App\Model\Unit;
+
+class Merchant extends Unit
+{
+ public string $buildingType = 'Marketplace';
+ public int $travelTime = 1;
+ public int $populationDemandFactor = 1;
+ public array $resourceRequirements = [
+ 'wood' => 2.0,
+ 'clay' => 2.0,
+ 'iron' => 2.0,
+ 'food' => 2.0,
+ ];
+}