AIGameDecision

class AIGameDecision : NSObject, GKGameModelUpdate

An abstract class that represents a decision an agent can make.

•  value 

The value of this action.

Declaration

Swift

var value: Int
•  action 

The action that will be performed.

Declaration

Swift

var action: AIGamePlayerAction
•  init(by:with:) 

Instantiate a game decision.

Declaration

Swift

init(by action: AIGamePlayerAction, with value: Int)

Parameters

  action  The action that will be performed in this decision.  value  The value of this action.