From 4511092b9126eeeaea3a04a5ceee48b0d2c1515b Mon Sep 17 00:00:00 2001
From: Fabian <fakehlenbeck@googlemail.com>
Date: Thu, 28 May 2020 23:06:51 +0200
Subject: [PATCH] Attack function

---
 .../Controller/Actions/Attack.java            | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/core/src/com/galaxytrucker/galaxytruckerreloaded/Controller/Actions/Attack.java b/core/src/com/galaxytrucker/galaxytruckerreloaded/Controller/Actions/Attack.java
index 9d080aac..0b1860e0 100644
--- a/core/src/com/galaxytrucker/galaxytruckerreloaded/Controller/Actions/Attack.java
+++ b/core/src/com/galaxytrucker/galaxytruckerreloaded/Controller/Actions/Attack.java
@@ -1,7 +1,28 @@
 package com.galaxytrucker.galaxytruckerreloaded.Controller.Actions;
 
+import com.galaxytrucker.galaxytruckerreloaded.Model.Ship;
+import com.galaxytrucker.galaxytruckerreloaded.Model.Weapons.Weapon;
+
 public class Attack {
 
+    /** Make one ship attack another's section
+     * @param opponent - the opponent's ship
+     * @param weapon - the weapon attacking */
+    private void attack(Ship opponent, Weapon weapon){}
+
+    /** Heal a ship
+     * @param ship - the ship to heal
+     * @param healingWeapon - the healing weapon */
+    private void heal(Ship ship,Weapon healingWeapon){}
+
+    /** Flee a fight, reward the winner
+     * @param coward - the ship that wants to flee
+     * @param opponent - the opponent that wins the fight */
+    private void fleeFight(Ship coward, Ship opponent){}
 
+    /** Give winner reward and end the fight (or the game)
+     * @param loser - the ship that lost
+     * @param victor - the ship that won */
+    private void endFight(Ship loser, Ship victor){}
 
 }
-- 
GitLab