private void changeTravBit(boolean canWalk, boolean canSwim, boolean canFly) {
		travBit = 0x0;
		if(canWalk) {
			travBit |= walkingMask;
		} 
		if(canSwim) {
			travBit |= swimmingMask;
		}
		if(canFly) {
			travBit |= flyingMask;
		}
	}