Oolite
1.91.0.7658-250404-b1488af
Toggle main menu visibility
Main Page
Topics
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
z
Enumerations
g
k
m
o
r
s
t
w
Enumerator
a
b
c
d
e
g
j
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Modules
Pages
Loading...
Searching...
No Matches
src
Core
Scripting
OOJSPlayerShip.h
Go to the documentation of this file.
1
/*
2
3
OOJSPlayerShip.h
4
5
JavaScript proxy for the player's ship.
6
While the player and player's ship are not differentiated in Oolite, such a
7
separation makes more sense conceptually and design-wise, and we might want to
8
make it that way in the future. The scripting interface anticipates this by
9
using two separate objects for the player and player's ship.
10
11
The -javaScriptValue of the PlayerEntity is the player's ship.
12
13
14
Oolite
15
Copyright (C) 2004-2013 Giles C Williams and contributors
16
17
This program is free software; you can redistribute it and/or
18
modify it under the terms of the GNU General Public License
19
as published by the Free Software Foundation; either version 2
20
of the License, or (at your option) any later version.
21
22
This program is distributed in the hope that it will be useful,
23
but WITHOUT ANY WARRANTY; without even the implied warranty of
24
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
GNU General Public License for more details.
26
27
You should have received a copy of the GNU General Public License
28
along with this program; if not, write to the Free Software
29
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30
MA 02110-1301, USA.
31
32
*/
33
34
#import <Foundation/Foundation.h>
35
#include <jsapi.h>
36
37
@class
PlayerEntity
;
38
39
40
void
InitOOJSPlayerShip
(JSContext *context, JSObject *global);
41
42
JSClass *
JSPlayerShipClass
(
void
);
43
JSObject *
JSPlayerShipPrototype
(
void
);
44
JSObject *
JSPlayerShipObject
(
void
);
JSPlayerShipObject
JSObject * JSPlayerShipObject(void)
Definition
OOJSPlayerShip.m:309
InitOOJSPlayerShip
void InitOOJSPlayerShip(JSContext *context, JSObject *global)
Definition
OOJSPlayerShip.m:281
JSPlayerShipPrototype
JSObject * JSPlayerShipPrototype(void)
Definition
OOJSPlayerShip.m:303
JSPlayerShipClass
JSClass * JSPlayerShipClass(void)
Definition
OOJSPlayerShip.m:297
PlayerEntity
Definition
PlayerEntity.h:368
Generated by
1.13.2