summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/spritekit/SKTextureAtlas.inc
blob: 5377735f969013eb6047909a77e88a21b90374d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ Parsed from SpriteKit.framework SKTextureAtlas.h }


{$ifdef TYPES}
type
  SKTextureAtlasPtr = ^SKTextureAtlas;
{$endif}

{$ifdef CLASSES}

type
  SKTextureAtlas = objcclass external (NSObject, NSCodingProtocol)
  public
    class function atlasNamed (name: NSString): instancetype; message 'atlasNamed:';
    class function atlasWithDictionary (properties: NSDictionary): instancetype; message 'atlasWithDictionary:'; { available in 10_10, 8_0 }
    function textureNamed (name: NSString): SKTexture; message 'textureNamed:';
    class procedure preloadTextureAtlases_withCompletionHandler (textureAtlases: NSArray; completionHandler: OpaqueCBlock); message 'preloadTextureAtlases:withCompletionHandler:';
    procedure preloadWithCompletionHandler (completionHandler: OpaqueCBlock); message 'preloadWithCompletionHandler:';
    function textureNames: NSArray; message 'textureNames';

    { Adopted protocols }
    procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:';
    function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:';
  end;
{$endif}