Package org.robovm.apple.gameplaykit
Class GKGoal
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKGoal
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class GKGoal extends NSObject
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKGoal.GKGoalPtr
-
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 GKGoal()
protected
GKGoal(NSObject.Handle h, long handle)
protected
GKGoal(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GKGoal
alignWithAgents(NSArray<GKAgent> agents, float maxDistance, float maxAngle)
static GKGoal
avoidAgents(NSArray<GKAgent> agents, double maxPredictionTime)
static GKGoal
avoidObstacles(NSArray<GKObstacle> obstacles, double maxPredictionTime)
static GKGoal
cohereWithAgents(NSArray<GKAgent> agents, float maxDistance, float maxAngle)
static GKGoal
fleeAgent(GKAgent agent)
static GKGoal
followPath(GKPath path, double maxPredictionTime, boolean forward)
static GKGoal
interceptAgent(GKAgent target, double maxPredictionTime)
static GKGoal
reachTargetSpeed(float targetSpeed)
static GKGoal
seekAgent(GKAgent agent)
static GKGoal
separateFromAgents(NSArray<GKAgent> agents, float maxDistance, float maxAngle)
static GKGoal
stayOnPath(GKPath path, double maxPredictionTime)
static GKGoal
wander(float speed)
-
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
-
GKGoal
public GKGoal()
-
GKGoal
protected GKGoal(NSObject.Handle h, long handle)
-
GKGoal
protected GKGoal(NSObject.SkipInit skipInit)
-
-
Method Detail
-
avoidObstacles
public static GKGoal avoidObstacles(NSArray<GKObstacle> obstacles, double maxPredictionTime)
-
separateFromAgents
public static GKGoal separateFromAgents(NSArray<GKAgent> agents, float maxDistance, float maxAngle)
-
alignWithAgents
public static GKGoal alignWithAgents(NSArray<GKAgent> agents, float maxDistance, float maxAngle)
-
cohereWithAgents
public static GKGoal cohereWithAgents(NSArray<GKAgent> agents, float maxDistance, float maxAngle)
-
reachTargetSpeed
public static GKGoal reachTargetSpeed(float targetSpeed)
-
wander
public static GKGoal wander(float speed)
-
-