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

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

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