Package com.prineside.luaj.mapping.parts
Class LJ_GDX_ai.Proximity_CY.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_ai.Proximity_CY.LIP
- All Implemented Interfaces:
com.badlogic.gdx.ai.steer.Proximity,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
- LJ_GDX_ai.Proximity_CY
public static class LJ_GDX_ai.Proximity_CY.LIP
extends InterfaceProxy
implements com.badlogic.gdx.ai.steer.Proximity
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.badlogic.gdx.ai.steer.Proximity
com.badlogic.gdx.ai.steer.Proximity.ProximityCallback<T extends com.badlogic.gdx.math.Vector<T>> -
Method Summary
Modifier and TypeMethodDescriptionintfindNeighbors(com.badlogic.gdx.ai.steer.Proximity.ProximityCallback p1) Finds the agents that are within the immediate area of the owner.com.badlogic.gdx.ai.steer.SteerablegetOwner()Returns the owner of this proximity.voidsetOwner(com.badlogic.gdx.ai.steer.Steerable p1) Sets the owner of this proximity.Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
findNeighbors
public int findNeighbors(com.badlogic.gdx.ai.steer.Proximity.ProximityCallback p1) Description copied from interface:com.badlogic.gdx.ai.steer.ProximityFinds the agents that are within the immediate area of the owner. Each of those agents is passed to thereportNeighbormethod of the specified callback.- Specified by:
findNeighborsin interfacecom.badlogic.gdx.ai.steer.Proximity- Returns:
- the number of neighbors found.
-
getOwner
public com.badlogic.gdx.ai.steer.Steerable getOwner()Description copied from interface:com.badlogic.gdx.ai.steer.ProximityReturns the owner of this proximity.- Specified by:
getOwnerin interfacecom.badlogic.gdx.ai.steer.Proximity
-
setOwner
public void setOwner(com.badlogic.gdx.ai.steer.Steerable p1) Description copied from interface:com.badlogic.gdx.ai.steer.ProximitySets the owner of this proximity.- Specified by:
setOwnerin interfacecom.badlogic.gdx.ai.steer.Proximity
-