Class LJ_GDX_ai.NonBlockingSemaphore_FF.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.NonBlockingSemaphore_FF.LIP
All Implemented Interfaces:
com.badlogic.gdx.ai.utils.NonBlockingSemaphore, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX_ai.NonBlockingSemaphore_FF

public static class LJ_GDX_ai.NonBlockingSemaphore_FF.LIP extends InterfaceProxy implements com.badlogic.gdx.ai.utils.NonBlockingSemaphore
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.badlogic.gdx.ai.utils.NonBlockingSemaphore

    com.badlogic.gdx.ai.utils.NonBlockingSemaphore.Factory
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Acquires a resource if available.
    boolean
    acquire(int p1)
    Acquires the specified number of resources if they all are available.
    boolean
    Releases a resource returning it to this semaphore.
    boolean
    release(int p1)
    Releases the specified number of resources returning it to this semaphore.

    Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy

    getLuaObj, read, write

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • acquire

      public boolean acquire()
      Description copied from interface: com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Acquires a resource if available.

      An invocation of this method yields exactly the same result as acquire(1)

      Specified by:
      acquire in interface com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Returns:
      true if the resource has been acquired; false otherwise.
    • acquire

      public boolean acquire(int p1)
      Description copied from interface: com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Acquires the specified number of resources if they all are available.
      Specified by:
      acquire in interface com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Returns:
      true if all the requested resources have been acquired; false otherwise.
    • release

      public boolean release()
      Description copied from interface: com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Releases a resource returning it to this semaphore.

      An invocation of this method yields exactly the same result as release(1)

      Specified by:
      release in interface com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Returns:
      true if the resource has been released; false otherwise.
    • release

      public boolean release(int p1)
      Description copied from interface: com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Releases the specified number of resources returning it to this semaphore.
      Specified by:
      release in interface com.badlogic.gdx.ai.utils.NonBlockingSemaphore
      Returns:
      true if all the requested resources have been released; false otherwise.