Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
OOPListScript.h
Go to the documentation of this file.
1/*
2
3OOPListScript.h
4
5Property list-based script.
6
7I started off reimplementing plist scripting here, in order to remove one of
8PlayerEntity's many overloaded functions. The scale of the task was such that
9I've stepped back, and this simply wraps the old plist scripting in
10PlayerEntity.
11
12
13Oolite
14Copyright (C) 2004-2013 Giles C Williams and contributors
15
16This program is free software; you can redistribute it and/or
17modify it under the terms of the GNU General Public License
18as published by the Free Software Foundation; either version 2
19of the License, or (at your option) any later version.
20
21This program is distributed in the hope that it will be useful,
22but WITHOUT ANY WARRANTY; without even the implied warranty of
23MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24GNU General Public License for more details.
25
26You should have received a copy of the GNU General Public License
27along with this program; if not, write to the Free Software
28Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
29MA 02110-1301, USA.
30
31*/
32
33#import "OOScript.h"
34
35
37{
38@private
39 NSArray *_script;
40 NSDictionary *_metadata;
41}
42
43+ (NSArray *)scriptsInPListFile:(NSString *)filePath;
44
45@end
NSDictionary * _metadata
NSArray * _script