public boolean isInSeeState(CreatureSeeState seeState) { int isSeeState = this.seeState & seeState.getId(); if (isSeeState == seeState.getId()) return true; return false; }
public void unsetSeeState(CreatureSeeState seeState) { this.seeState &= ~seeState.getId(); }
/** @param seeState the seeState to set */ public void setSeeState(CreatureSeeState seeState) { this.seeState |= seeState.getId(); }