Package org.robovm.apple.gameplaykit
Class GKObstacleGraph<NodeType extends GKGraphNode2D>
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<NodeType>
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class GKObstacleGraph<NodeType extends GKGraphNode2D> extends GKGraph
- Since:
- Available in iOS 9.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGKObstacleGraph.GKObstacleGraphPtr<NodeType extends GKGraphNode2D>Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKGraph
GKGraph.GKGraphPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description GKObstacleGraph()GKObstacleGraph(NSArray<GKGraphNode> nodes)GKObstacleGraph(NSArray<GKPolygonObstacle> obstacles, float bufferRadius)GKObstacleGraph(NSArray<GKPolygonObstacle> obstacles, float bufferRadius, Class<?> nodeClass)protectedGKObstacleGraph(NSObject.Handle h, long handle)protectedGKObstacleGraph(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.gameplaykit.GKGraph
addNodes, connectNodeToLowestCostNode, encode, findPathBetweenNodes, getNodes, init, init, removeNodesMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
GKObstacleGraph
public GKObstacleGraph() -
GKObstacleGraph
-
GKObstacleGraph
-
GKObstacleGraph
-
GKObstacleGraph
public GKObstacleGraph(NSArray<GKPolygonObstacle> obstacles, float bufferRadius, Class<?> nodeClass) -
GKObstacleGraph
-
-
Method Details
-
getObstacles
-
getBufferRadius
public float getBufferRadius() -
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
-
init
-
connectNode
-
connectNodeIgnoringObstacles
public void connectNodeIgnoringObstacles(NodeType node, NSArray<GKPolygonObstacle> obstaclesToIgnore) -
connectNodeIgnoringBufferRadiusOfObstacles
public void connectNodeIgnoringBufferRadiusOfObstacles(NodeType node, NSArray<GKPolygonObstacle> obstaclesBufferRadiusToIgnore) -
addObstacles
-
removeObstacles
-
removeAllObstacles
public void removeAllObstacles() -
getNodesForObstacle
-
lockConnectionBetweenNodes
-
unlockConnectionBetweenNodes
-
isConnectionLockedBetweenNodes
-
classForGenericArgumentAtIndex
-