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