GKGoal.GetGoalToWander(Single) Method

Definition

Factory method to create a GKGoal that turns and moves forward randomly.

[Foundation.Export("goalToWander:")]
public static GameplayKit.GKGoal GetGoalToWander (float speed);
static member GetGoalToWander : single -> GameplayKit.GKGoal

Parameters

speed
Single

Returns

Attributes

Applies to