#include <EntityOOJavaScriptExtensions.h>
◆ getJSClass:andPrototype:
| - (void) getJSClass: |
|
(JSClass **) |
outClass |
| andPrototype: |
|
(JSObject **) |
outPrototype |
|
|
| |
|
implementation |
Definition at line 1 of file EntityOOJavaScriptExtensions.m.
121 :(JSClass **)outClass andPrototype:(JSObject **)outPrototype
122{
125}
JSObject * JSShipPrototype(void)
JSClass * JSShipClass(void)
◆ isVisibleToScripts
| - (BOOL) isVisibleToScripts |
|
|
|
|
implementation |
◆ oo_jsClassName
| - (NSString *) oo_jsClassName |
|
|
|
|
implementation |
◆ setTargetForScript:
| - (void) setTargetForScript: |
|
(ShipEntity *) |
target |
|
Definition at line 1 of file EntityOOJavaScriptExtensions.m.
141{
143
144
145 while ([me isSubEntity])
146 {
147 if (me == [me owner] || [me owner] ==
nil)
break;
149 }
150 while ([target isSubEntity])
151 {
152 if (target == [target owner] || [target owner] ==
nil)
break;
154 }
155 if (![me isKindOfClass:[
ShipEntity class]]) return;
157 {
159 }
161}
void addTarget:(Entity *targetEntity)
void removeTarget:(Entity *targetEntity)
◆ subEntitiesForScript
| - (NSArray *) subEntitiesForScript |
|
|
|
The documentation for this category was generated from the following files: