game-ai/src/main/java/com/jzy/game/ai/btree/decorator/SemaphoreGuard.java
/**
	 * Runs its child if the semaphore has been successfully acquired; immediately
	 * fails otherwise.
	 */
Runs its child if the semaphore has been successfully acquired; immediately
fails otherwise.
Runs its child if the semaphore has been successfully acquired ; immediately fails otherwise .
@Override
	public void run() {
		if (semaphoreAcquired) {
			super.run();
		} else {
			fail();
		}
	}
@ Override public void run ( ) { if ( semaphoreAcquired ) { super . run ( ) ; } else { fail ( ) ; } }
Runs its child if the semaphore has been successfully acquired; immediately
 fails otherwise.
Runs its child if the semaphore has been successfully acquired ; immediately fails otherwise .