Exemplo 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());
     }
 }
Exemplo n.º 2
0
    public List <Token> getAutoPickableTokens()
    {
        CaseBehavior currentCell = caseActuelle.GetComponent <CaseBehavior>();

        if (currentCell.isOtherNonWoundedCharacterPresent(gameObject))
        {
            return(new List <Token>());
        }
        else
        {
            return(getPickableTokens());
        }
    }