Documentation Archive Developer
Search

GameplayKit Changes for Objective-C

GameplayKit

GKAgent.h

Modified GKAgent
Protocols
From--
ToNSCoding

Modified GKAgent.speed
DeclarationReadonly
From
@property(nonatomic, readonly) float speed
yes
To
@property(nonatomic) float speed
--

Modified GKAgent2D
Protocols
From--
ToNSCoding

GKBehavior.h

Modified GKBehavior
Protocols
FromNSFastEnumeration
ToNSCopying, NSFastEnumeration

GKComponent.h

GKCompositeBehavior.h (Added)

GKDecisionTree.h (Added)

GKEntity.h

Modified GKEntity
Protocols
FromNSCopying
ToNSCoding, NSCopying

GKGraph.h

Modified GKGraph
Protocols
From--
ToNSCoding, NSCopying

Modified GKGridGraph
Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

DeclarationHeader
From
- (GKGridGraphNode *)nodeAtGridPosition:(vector_int2)position
GameplayKit/GKGraph.h
To
- (NodeType)nodeAtGridPosition:(vector_int2)position
GameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)connectNodeUsingObstacles:(GKGraphNode2D *)node
GameplayKit/GKGraph.h
To
- (void)connectNodeUsingObstacles:(NodeType)node
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)connectNodeUsingObstacles:(GKGraphNode2D *)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore
GameplayKit/GKGraph.h
To
- (void)connectNodeUsingObstacles:(NodeType)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)connectNodeUsingObstacles:(GKGraphNode2D *)node ignoringObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesToIgnore
GameplayKit/GKGraph.h
To
- (void)connectNodeUsingObstacles:(NodeType)node ignoringObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesToIgnore
GameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (BOOL)isConnectionLockedFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode
GameplayKit/GKGraph.h
To
- (BOOL)isConnectionLockedFromNode:(NodeType)startNode toNode:(NodeType)endNode
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)lockConnectionFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode
GameplayKit/GKGraph.h
To
- (void)lockConnectionFromNode:(NodeType)startNode toNode:(NodeType)endNode
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (NSArray<GKGraphNode2D *> *)nodesForObstacle:(GKPolygonObstacle *)obstacle
GameplayKit/GKGraph.h
To
- (NSArray<NodeType> *)nodesForObstacle:(GKPolygonObstacle *)obstacle
GameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)unlockConnectionFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode
GameplayKit/GKGraph.h
To
- (void)unlockConnectionFromNode:(NodeType)startNode toNode:(NodeType)endNode
GameplayKit/GKObstacleGraph.h

GKGraphNode.h

Modified GKGraphNode
Protocols
From--
ToNSCoding

Designated Initializer
Fromyes
To--

DeclarationReadonly
From
@property(nonatomic) vector_int2 gridPosition
--
To
@property(nonatomic, readonly) vector_int2 gridPosition
yes

Designated Initializer
Fromyes
To--

GKGridGraph.h (Added)

Modified GKGridGraph
Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKGridGraph.h

DeclarationHeader
From
- (GKGridGraphNode *)nodeAtGridPosition:(vector_int2)position
GameplayKit/GKGraph.h
To
- (NodeType)nodeAtGridPosition:(vector_int2)position
GameplayKit/GKGridGraph.h

GKMeshGraph.h (Added)

GKMonteCarloStrategist.h (Added)

GKNoise.h (Added)

GKNoiseMap.h (Added)

GKNoiseSource.h (Added)

GKObstacle.h

GKObstacleGraph.h (Added)

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)connectNodeUsingObstacles:(GKGraphNode2D *)node
GameplayKit/GKGraph.h
To
- (void)connectNodeUsingObstacles:(NodeType)node
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)connectNodeUsingObstacles:(GKGraphNode2D *)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore
GameplayKit/GKGraph.h
To
- (void)connectNodeUsingObstacles:(NodeType)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)connectNodeUsingObstacles:(GKGraphNode2D *)node ignoringObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesToIgnore
GameplayKit/GKGraph.h
To
- (void)connectNodeUsingObstacles:(NodeType)node ignoringObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesToIgnore
GameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (BOOL)isConnectionLockedFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode
GameplayKit/GKGraph.h
To
- (BOOL)isConnectionLockedFromNode:(NodeType)startNode toNode:(NodeType)endNode
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)lockConnectionFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode
GameplayKit/GKGraph.h
To
- (void)lockConnectionFromNode:(NodeType)startNode toNode:(NodeType)endNode
GameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (NSArray<GKGraphNode2D *> *)nodesForObstacle:(GKPolygonObstacle *)obstacle
GameplayKit/GKGraph.h
To
- (NSArray<NodeType> *)nodesForObstacle:(GKPolygonObstacle *)obstacle
GameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

Header
FromGameplayKit/GKGraph.h
ToGameplayKit/GKObstacleGraph.h

DeclarationHeader
From
- (void)unlockConnectionFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode
GameplayKit/GKGraph.h
To
- (void)unlockConnectionFromNode:(NodeType)startNode toNode:(NodeType)endNode
GameplayKit/GKObstacleGraph.h

GKOctree.h (Added)

GKPath.h

Declaration
From
- (instancetype)initWithGraphNodes:(NSArray<GKGraphNode2D *> *)graphNodes radius:(float)radius
To
- (instancetype)initWithGraphNodes:(NSArray<GKGraphNode *> *)graphNodes radius:(float)radius

Designated Initializer
Fromyes
To--

Declaration
From
+ (instancetype)pathWithGraphNodes:(NSArray<GKGraphNode2D *> *)graphNodes radius:(float)radius
To
+ (instancetype)pathWithGraphNodes:(NSArray<GKGraphNode *> *)graphNodes radius:(float)radius

Deprecation
From--
ToOS X 10.12

GKPrimitives.h (Added)

Added GKBox
Added GKQuad

GKQuadtree.h (Added)

GKRandomSource.h

GKRTree.h (Added)

GKScene.h (Added)

GKSKNodeComponent.h (Added)

SpriteKit+Additions.h (Added)

Added SKNode(GameplayKit)
Added SKScene(GameplayKit)
Added SKTexture(GameplayKit)
Added SKTileMapNode(GameplayKit)
Header
FromSpriteKit/SKNode.h
ToGameplayKit/SpriteKit+Additions.h

Header
FromSpriteKit/SKNode.h
ToGameplayKit/SpriteKit+Additions.h

Header
FromSpriteKit/SKNode.h
ToGameplayKit/SpriteKit+Additions.h