summaryrefslogtreecommitdiff
path: root/src/Model/Unit/Diplomat.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Unit/Diplomat.php')
-rw-r--r--src/Model/Unit/Diplomat.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Model/Unit/Diplomat.php b/src/Model/Unit/Diplomat.php
new file mode 100644
index 0000000..e263cd3
--- /dev/null
+++ b/src/Model/Unit/Diplomat.php
@@ -0,0 +1,18 @@
+<?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 $resourceRequirements = [
+ 'wood' => 5.0,
+ 'clay' => 5.0,
+ 'iron' => 5.0,
+ 'food' => 5.0,
+ ];
+}