Exemplo n.º 1
0
  public boolean isInSeeState(CreatureSeeState seeState) {
    int isSeeState = this.seeState & seeState.getId();

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

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