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

Instance Methods

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

Detailed Description

Definition at line 99 of file OOJSSun.m.

Method Documentation

◆ getJSClass:andPrototype:

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

Extends class OOSunEntity.

Definition at line 179 of file OOJSSun.m.

107 :(JSClass **)outClass andPrototype:(JSObject **)outPrototype
108{
109 *outClass = &sSunClass;
110 *outPrototype = sSunPrototype;
111}
static JSClass sSunClass
Definition OOJSSun.m:41
static JSObject * sSunPrototype
Definition OOJSSun.m:33

References EXPECT_NOT, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJS_THIS, and OOSunEntity::setGoingNova:inTime:.

+ Here is the call graph for this function:

◆ isVisibleToScripts

- (BOOL) isVisibleToScripts
implementation

Extends class OOSunEntity.

Definition at line 179 of file OOJSSun.m.

102{
103 return YES;
104}

◆ oo_jsClassName

- (NSString *) oo_jsClassName
implementation

Extends class OOSunEntity.

Definition at line 179 of file OOJSSun.m.

115{
116 return @"Sun";
117}

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