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>>
-
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj
-
Method Summary
Modifier and TypeMethodDescriptionint
findNeighbors
(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.Steerable
getOwner()
Returns the owner of this proximity.void
setOwner
(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.Proximity
Finds the agents that are within the immediate area of the owner. Each of those agents is passed to thereportNeighbor
method of the specified callback.- Specified by:
findNeighbors
in 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.Proximity
Returns the owner of this proximity.- Specified by:
getOwner
in 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.Proximity
Sets the owner of this proximity.- Specified by:
setOwner
in interfacecom.badlogic.gdx.ai.steer.Proximity
-