Exemple #1
0
  public boolean isInSeeState(CreatureSeeState seeState) {
    int isSeeState = this.seeState & seeState.getId();

    if (isSeeState == seeState.getId()) return true;

    return false;
  }
Exemple #2
0
 public void unsetSeeState(CreatureSeeState seeState) {
   this.seeState &= ~seeState.getId();
 }
Exemple #3
0
 /** @param seeState the seeState to set */
 public void setSeeState(CreatureSeeState seeState) {
   this.seeState |= seeState.getId();
 }