diff --git a/core/src/com/galaxytrucker/galaxytruckerreloaded/Controller/Actions/Attack.java b/core/src/com/galaxytrucker/galaxytruckerreloaded/Controller/Actions/Attack.java index 9d080aacf1c755afe365ff568eccad3d023d0fff..0b1860e0787e3923fb78c44ab778f05fe9e09595 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){} }