Ejemplo n.º 1
0
        public override bool IsActionAvailable()
        {
            bool result = true;

            // can perform only one boost action per turn
            if (HostShip.IsAlreadyExecutedAction(typeof(BoostAction)))
            {
                result = false;
            }
            return(result);
        }
Ejemplo n.º 2
0
 private void AddIonToken()
 {
     // check if the free boost action has been performed
     // this may raise an issue where the Leebo free boost action is not recognized as a boost action. Therefore
     // a ship may be able to perform two boost actions per turn :/
     if (HostShip.IsAlreadyExecutedAction(typeof(LeeboAction)))
     {
         Messages.ShowInfoToHuman(Name + ": free boost performed, ion token received.");
         HostShip.Tokens.AssignToken(typeof(IonToken), Finish);
     }
     else
     {
         // if not, need to finish SubPhase
         Finish();
     }
 }