Esempio n. 1
0
 public virtual bool canStayOnCell(CaseBehavior currentCase)
 {
     if (surLaRegletteAdverse(currentCase))
     {
         return(!currentCase.isOtherNonWoundedCharacterPresent(gameObject));
     }
     else
     {
         return(!currentCase.isOtherNonWoundedCharacterPresent(gameObject) && !currentCase.isOpponentPresent(gameObject) && !tooManyTokensToStayOnCell(currentCase) && currentCase.fosseNonBloquante());
     }
 }
Esempio n. 2
0
 public virtual bool endCellIsSafe(CaseBehavior currentCase)
 {
     return(currentCase.fosseNonBloquante());
 }
Esempio n. 3
0
 public virtual bool canStopOnCell(CaseBehavior currentCase)
 {
     return(currentCase.fosseNonBloquante() && !currentCase.isNonWoundedEnemyPresent(gameObject));
 }