Bewerken

Delen via


GKGoal.GetGoalToAvoidObstacles(GKObstacle[], Double) Method

Definition

Factory method to create a GKGoal that attemps to avoid collisions with the specified obstacles.

[Foundation.Export("goalToAvoidObstacles:maxPredictionTime:")]
public static GameplayKit.GKGoal GetGoalToAvoidObstacles (GameplayKit.GKObstacle[] obstacles, double maxPredictionTime);
static member GetGoalToAvoidObstacles : GameplayKit.GKObstacle[] * double -> GameplayKit.GKGoal

Parameters

obstacles
GKObstacle[]
maxPredictionTime
Double

Returns

Attributes

Applies to