-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathBFSceneManager.h
43 lines (30 loc) · 936 Bytes
/
BFSceneManager.h
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// BFSceneManager.h
// Briefs
//
// Created by Rob Rhyne on 7/17/09.
// Copyright Digital Arch Design, 2009. See LICENSE file for details.
//
#import <Foundation/Foundation.h>
#import "BFScene.h"
@interface BFSceneManager : NSObject
{
NSDictionary *source;
NSMutableArray *scene_graph;
NSArray *scene_desc;
int currentIndex;
int openingScene;
}
@property (nonatomic, retain) NSDictionary *source;
@property (nonatomic, retain) NSMutableArray *scene_graph;
@property (nonatomic, retain) NSArray *scene_desc;
- (id)initWithPathToDictionary:(NSString*)path;
- (id)initWithDictionary:(NSDictionary *)dict;
// Scene Management
- (int)totalNumberOfScenes;
- (BFScene *)openingScene;
- (BFScene *)currentScene;
- (BFScene *)sceneByNumber:(int)index;
// Brief Management
- (NSDictionary *)copyOfSource:(BOOL)asCompacted withWorkingDirectory:(NSString *)directory;
@end