Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOFlasherEntity(OOJavaScriptExtensions) Category Reference

#include <OOJSFlasher.h>

Instance Methods

(void) - getJSClass:andPrototype:
 
(NSString *) - oo_jsClassName
 
(BOOL) - isVisibleToScripts
 

Detailed Description

Definition at line 34 of file OOJSFlasher.h.

Method Documentation

◆ getJSClass:andPrototype:

- (void) getJSClass: (JSClass **) outClass
andPrototype: (JSObject **) outPrototype 

Extends class OOFlasherEntity.

Definition at line 288 of file OOJSFlasher.m.

128 :(JSClass **)outClass andPrototype:(JSObject **)outPrototype
129{
130 *outClass = &sFlasherClass;
131 *outPrototype = sFlasherPrototype;
132}
static JSObject * sFlasherPrototype
Definition OOJSFlasher.m:34
static JSClass sFlasherClass
Definition OOJSFlasher.m:45

References GET_THIS_FLASHER, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, and Entity::owner.

+ Here is the call graph for this function:

◆ isVisibleToScripts

- (BOOL) isVisibleToScripts

Extends class OOFlasherEntity.

Definition at line 288 of file OOJSFlasher.m.

141{
142 return YES;
143}

◆ oo_jsClassName

- (NSString *) oo_jsClassName

Extends class OOFlasherEntity.

Definition at line 288 of file OOJSFlasher.m.

136{
137 return @"Flasher";
138}

The documentation for this category was generated from the following files: