Share via


IGKAgentDelegate Interface

Definition

Delegate object that provides methods relating to synchronizing the state of a GKAgent with external constraints, goals, and representations.

[Foundation.Protocol(Name="GKAgentDelegate", WrapperType=typeof(GameplayKit.GKAgentDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentWillUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentWillUpdate:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentDidUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentDidUpdate:")]
public interface IGKAgentDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GKAgentDelegate", WrapperType=typeof(GameplayKit.GKAgentDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentWillUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentWillUpdate:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AgentDidUpdate", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(GameplayKit.GKAgent) }, Selector="agentDidUpdate:")>]
type IGKAgentDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
AgentDidUpdate(GKAgent)

Method that is called after agent has performed a simulation step.

AgentWillUpdate(GKAgent)

Method that is called before agent performs a simulation step.

Extension Methods

Name Description
AgentDidUpdate(IGKAgentDelegate, GKAgent)

Method that is called after agent has performed a simulation step.

AgentWillUpdate(IGKAgentDelegate, GKAgent)

Method that is called before agent performs a simulation step.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also