Package org.robovm.apple.gameplaykit
Class GKObstacleGraph
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKGraph
-
- org.robovm.apple.gameplaykit.GKObstacleGraph
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class GKObstacleGraph extends GKGraph
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKObstacleGraph.GKObstacleGraphPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKGraph
GKGraph.GKGraphPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description GKObstacleGraph()
GKObstacleGraph(NSArray<GKGraphNode> nodes)
GKObstacleGraph(NSArray<GKPolygonObstacle> obstacles, float bufferRadius)
GKObstacleGraph(NSArray<GKPolygonObstacle> obstacles, float bufferRadius, java.lang.Class<?> nodeClass)
protected
GKObstacleGraph(NSObject.Handle h, long handle)
protected
GKObstacleGraph(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.gameplaykit.GKGraph
addNodes, connectNodeToLowestCostNode, encode, findPathBetweenNodes, getNodes, init, init, removeNodes, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
GKObstacleGraph
public GKObstacleGraph()
-
GKObstacleGraph
protected GKObstacleGraph(NSObject.Handle h, long handle)
-
GKObstacleGraph
protected GKObstacleGraph(NSObject.SkipInit skipInit)
-
GKObstacleGraph
public GKObstacleGraph(NSArray<GKPolygonObstacle> obstacles, float bufferRadius)
-
GKObstacleGraph
public GKObstacleGraph(NSArray<GKPolygonObstacle> obstacles, float bufferRadius, java.lang.Class<?> nodeClass)
-
GKObstacleGraph
public GKObstacleGraph(NSArray<GKGraphNode> nodes)
-
-
Method Detail
-
getObstacles
public NSArray<GKPolygonObstacle> getObstacles()
-
getBufferRadius
public float getBufferRadius()
-
init
protected long init(NSArray<GKPolygonObstacle> obstacles, float bufferRadius)
-
init
protected long init(NSArray<GKPolygonObstacle> obstacles, float bufferRadius, java.lang.Class<?> nodeClass)
-
connectNode
public void connectNode(GKGraphNode2D node)
-
connectNodeIgnoringObstacles
public void connectNodeIgnoringObstacles(GKGraphNode2D node, NSArray<GKPolygonObstacle> obstaclesToIgnore)
-
connectNodeIgnoringBufferRadiusOfObstacles
public void connectNodeIgnoringBufferRadiusOfObstacles(GKGraphNode2D node, NSArray<GKPolygonObstacle> obstaclesBufferRadiusToIgnore)
-
addObstacles
public void addObstacles(NSArray<GKPolygonObstacle> obstacles)
-
removeObstacles
public void removeObstacles(NSArray<GKPolygonObstacle> obstacles)
-
removeAllObstacles
public void removeAllObstacles()
-
getNodesForObstacle
public NSArray<GKGraphNode2D> getNodesForObstacle(GKPolygonObstacle obstacle)
-
lockConnectionBetweenNodes
public void lockConnectionBetweenNodes(GKGraphNode2D startNode, GKGraphNode2D endNode)
-
unlockConnectionBetweenNodes
public void unlockConnectionBetweenNodes(GKGraphNode2D startNode, GKGraphNode2D endNode)
-
isConnectionLockedBetweenNodes
public boolean isConnectionLockedBetweenNodes(GKGraphNode2D startNode, GKGraphNode2D endNode)
-
classForGenericArgumentAtIndex
public java.lang.Class<?> classForGenericArgumentAtIndex(long index)
-
-