GameplayKit Changes for Objective-C
GameplayKit
GKAgent.h
Added GKAgent3D
Added GKAgent3D.position
Added GKAgent3D.rightHanded
Added GKAgent3D.rotation
Added GKAgent3D.velocity
Modified GKAgent
Protocols | |
---|---|
From | -- |
To | NSCoding |
Modified GKAgent.speed
Declaration | Readonly | |
---|---|---|
From | @property(nonatomic, readonly) float speed | yes |
To | @property(nonatomic) float speed | -- |
Modified GKAgent2D
Protocols | |
---|---|
From | -- |
To | NSCoding |
GKBehavior.h
GKComponent.h
GKCompositeBehavior.h (Added)
Added GKCompositeBehavior
GKDecisionTree.h (Added)
GKEntity.h
GKGraph.h
Modified GKGraph
Protocols | |
---|---|
From | -- |
To | NSCoding, NSCopying |
Modified GKGridGraph
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.diagonalsAllowed
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.gridHeight
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.gridOrigin
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.gridWidth
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified -[GKGridGraph nodeAtGridPosition:]
Declaration | Header | |
---|---|---|
From | - (GKGridGraphNode *)nodeAtGridPosition:(vector_int2)position | GameplayKit/GKGraph.h |
To | - (NodeType)nodeAtGridPosition:(vector_int2)position | GameplayKit/GKGridGraph.h |
Modified GKObstacleGraph
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Modified -[GKObstacleGraph addObstacles:]
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Modified GKObstacleGraph.bufferRadius
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (void)connectNodeUsingObstacles:(GKGraphNode2D *)node | GameplayKit/GKGraph.h |
To | - (void)connectNodeUsingObstacles:(NodeType)node | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (void)connectNodeUsingObstacles:(GKGraphNode2D *)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore | GameplayKit/GKGraph.h |
To | - (void)connectNodeUsingObstacles:(NodeType)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
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 | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (BOOL)isConnectionLockedFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode | GameplayKit/GKGraph.h |
To | - (BOOL)isConnectionLockedFromNode:(NodeType)startNode toNode:(NodeType)endNode | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (void)lockConnectionFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode | GameplayKit/GKGraph.h |
To | - (void)lockConnectionFromNode:(NodeType)startNode toNode:(NodeType)endNode | GameplayKit/GKObstacleGraph.h |
Modified -[GKObstacleGraph nodesForObstacle:]
Declaration | Header | |
---|---|---|
From | - (NSArray<GKGraphNode2D *> *)nodesForObstacle:(GKPolygonObstacle *)obstacle | GameplayKit/GKGraph.h |
To | - (NSArray<NodeType> *)nodesForObstacle:(GKPolygonObstacle *)obstacle | GameplayKit/GKObstacleGraph.h |
Modified GKObstacleGraph.obstacles
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Modified -[GKObstacleGraph removeObstacles:]
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (void)unlockConnectionFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode | GameplayKit/GKGraph.h |
To | - (void)unlockConnectionFromNode:(NodeType)startNode toNode:(NodeType)endNode | GameplayKit/GKObstacleGraph.h |
GKGraphNode.h
Added GKGraphNode3D
Added GKGraphNode3D.position
Modified GKGraphNode
Protocols | |
---|---|
From | -- |
To | NSCoding |
Modified -[GKGraphNode2D initWithPoint:]
Designated Initializer | |
---|---|
From | yes |
To | -- |
Modified GKGridGraphNode.gridPosition
Declaration | Readonly | |
---|---|---|
From | @property(nonatomic) vector_int2 gridPosition | -- |
To | @property(nonatomic, readonly) vector_int2 gridPosition | yes |
Designated Initializer | |
---|---|
From | yes |
To | -- |
GKGridGraph.h (Added)
Modified GKGridGraph
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.diagonalsAllowed
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.gridHeight
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.gridOrigin
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified GKGridGraph.gridWidth
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKGridGraph.h |
Modified -[GKGridGraph nodeAtGridPosition:]
Declaration | Header | |
---|---|---|
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)
Added GKNoise
Added -[GKNoise addWithNoise:]
Added GKNoise.gradientColors
Added -[GKNoise init]
Added -[GKNoise invert]
Added -[GKNoise moveBy:]
Added +[GKNoise noiseWithComponentNoises:selectionNoise:componentBoundaries:boundaryBlendDistances:]
Added -[GKNoise raiseToPower:]
Added -[GKNoise rotateBy:]
Added -[GKNoise scaleBy:]
GKNoiseMap.h (Added)
Added GKNoiseMap
Added -[GKNoiseMap init]
Added GKNoiseMap.origin
Added GKNoiseMap.sampleCount
Added GKNoiseMap.seamless
Added GKNoiseMap.size
GKNoiseSource.h (Added)
Added GKBillowNoiseSource
Added +[GKBillowNoiseSource billowNoiseSourceWithFrequency:octaveCount:persistence:lacunarity:seed:]
Added GKCoherentNoiseSource
Added GKConstantNoiseSource
Added GKCylindersNoiseSource
Added GKNoiseSource
Added GKPerlinNoiseSource
Added +[GKPerlinNoiseSource perlinNoiseSourceWithFrequency:octaveCount:persistence:lacunarity:seed:]
Added GKRidgedNoiseSource
Added GKSpheresNoiseSource
Added GKVoronoiNoiseSource
GKObstacle.h
Added GKSphereObstacle
Added GKSphereObstacle.radius
GKObstacleGraph.h (Added)
Modified GKObstacleGraph
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Modified -[GKObstacleGraph addObstacles:]
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Modified GKObstacleGraph.bufferRadius
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (void)connectNodeUsingObstacles:(GKGraphNode2D *)node | GameplayKit/GKGraph.h |
To | - (void)connectNodeUsingObstacles:(NodeType)node | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (void)connectNodeUsingObstacles:(GKGraphNode2D *)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore | GameplayKit/GKGraph.h |
To | - (void)connectNodeUsingObstacles:(NodeType)node ignoringBufferRadiusOfObstacles:(NSArray<GKPolygonObstacle *> *)obstaclesBufferRadiusToIgnore | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
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 | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (BOOL)isConnectionLockedFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode | GameplayKit/GKGraph.h |
To | - (BOOL)isConnectionLockedFromNode:(NodeType)startNode toNode:(NodeType)endNode | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
From | - (void)lockConnectionFromNode:(GKGraphNode2D *)startNode toNode:(GKGraphNode2D *)endNode | GameplayKit/GKGraph.h |
To | - (void)lockConnectionFromNode:(NodeType)startNode toNode:(NodeType)endNode | GameplayKit/GKObstacleGraph.h |
Modified -[GKObstacleGraph nodesForObstacle:]
Declaration | Header | |
---|---|---|
From | - (NSArray<GKGraphNode2D *> *)nodesForObstacle:(GKPolygonObstacle *)obstacle | GameplayKit/GKGraph.h |
To | - (NSArray<NodeType> *)nodesForObstacle:(GKPolygonObstacle *)obstacle | GameplayKit/GKObstacleGraph.h |
Modified GKObstacleGraph.obstacles
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Modified -[GKObstacleGraph removeObstacles:]
Header | |
---|---|
From | GameplayKit/GKGraph.h |
To | GameplayKit/GKObstacleGraph.h |
Declaration | Header | |
---|---|---|
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
Added -[GKPath float2AtIndex:]
Added -[GKPath float3AtIndex:]
Modified -[GKPath initWithGraphNodes:radius:]
Declaration | |
---|---|
From | - (instancetype)initWithGraphNodes:(NSArray<GKGraphNode2D *> *)graphNodes radius:(float)radius |
To | - (instancetype)initWithGraphNodes:(NSArray<GKGraphNode *> *)graphNodes radius:(float)radius |
Designated Initializer | |
---|---|
From | yes |
To | -- |
Modified +[GKPath pathWithGraphNodes:radius:]
Declaration | |
---|---|
From | + (instancetype)pathWithGraphNodes:(NSArray<GKGraphNode2D *> *)graphNodes radius:(float)radius |
To | + (instancetype)pathWithGraphNodes:(NSArray<GKGraphNode *> *)graphNodes radius:(float)radius |
Modified -[GKPath pointAtIndex:]
Deprecation | |
---|---|
From | -- |
To | tvOS 10.0 |
GKPrimitives.h (Added)
GKQuadtree.h (Added)
GKRandomSource.h
Added -[NSArray shuffledArray]
Added NSArray(GameplayKit)
GKRTree.h (Added)
GKScene.h (Added)
Added GKScene
Added -[GKScene addEntity:]
Added GKScene.entities
Added GKScene.graphs
Added -[GKScene removeEntity:]
Added -[GKScene removeGraph:]
Added GKScene.rootNode
Added GKSceneRootNodeType
GKSKNodeComponent.h (Added)
SpriteKit+Additions.h (Added)
Added SKNode.entity
Added SKNode(GameplayKit)
Added SKScene(GameplayKit)
Added SKTexture(GameplayKit)
Added SKTileMapNode(GameplayKit)
Modified +[SKNode obstaclesFromNodeBounds:]
Header | |
---|---|
From | SpriteKit/SKNode.h |
To | GameplayKit/SpriteKit+Additions.h |
Header | |
---|---|
From | SpriteKit/SKNode.h |
To | GameplayKit/SpriteKit+Additions.h |
Header | |
---|---|
From | SpriteKit/SKNode.h |
To | GameplayKit/SpriteKit+Additions.h |