Oolite
1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
src
Core
Scripting
OOJSVisualEffect.h
Go to the documentation of this file.
1
/*
2
3
OOJSVisualEffect.h
4
5
JavaScript proxy for OOVisualEffectEntities.
6
7
Oolite
8
Copyright (C) 2004-2013 Giles C Williams and contributors
9
10
This program is free software; you can redistribute it and/or
11
modify it under the terms of the GNU General Public License
12
as published by the Free Software Foundation; either version 2
13
of the License, or (at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23
MA 02110-1301, USA.
24
25
*/
26
27
#import <Foundation/Foundation.h>
28
#include <jsapi.h>
29
30
@class
OOVisualEffectEntity
;
31
32
33
void
InitOOJSVisualEffect
(JSContext *context, JSObject *global);
34
35
@interface
OOVisualEffectEntity (OOJavaScriptExtensions)
36
37
- (void)getJSClass:(JSClass **)outClass andPrototype:(JSObject **)outPrototype;
38
- (NSString *)
oo_jsClassName
;
39
- (BOOL)
isVisibleToScripts
;
40
- (NSArray *)
subEntitiesForScript
;
41
42
@end
InitOOJSVisualEffect
void InitOOJSVisualEffect(JSContext *context, JSObject *global)
Definition
OOJSVisualEffect.m:143
-[OOVisualEffectEntity(OOJavaScriptExtensions) oo_jsClassName]
NSString * oo_jsClassName()
Definition
OOJSVisualEffect.m:182
-[OOVisualEffectEntity(OOJavaScriptExtensions) subEntitiesForScript]
NSArray * subEntitiesForScript()
Definition
OOJSVisualEffect.m:192
-[OOVisualEffectEntity(OOJavaScriptExtensions) isVisibleToScripts]
BOOL isVisibleToScripts()
Definition
OOJSVisualEffect.m:187
OOVisualEffectEntity
Definition
OOVisualEffectEntity.h:38
Generated by
1.12.0