|
||||||||
PREV NEXT | FRAMES NO FRAMES |
other
to the coordinates.
other
to the elements.
other
to the components.
b
to the universe, which is also set
to be the owner of the body.
dt
seconds and
updates the position and velocity of the body accordingly.
dt
seconds and
updates its bodies accordingly.
dt
seconds and
updates the position, velocity and lifetime of the body accordingly.
dt
seconds and updates the position,
velocity, and rotation of the ship accordingly.
m
at the
position p
heading at the direction of the
angle t
.
m
and
the radius r
.
m
,
the radius r
and the position p
.
m
,
the radius r
, the position p
and the velocity v
.
m
,
the radius r
, the position p
,
the velocity v
and the acceleration a
.
Color
object that is used for drawing
the outline.
o
.
t
.
Asteroid
object to the
the universe u
.
w
and height h
.
Ship
object to the center
of the universe u
.
Ship
object to a random position
in the universe u
.
ShapeView
Swing component.
ShapeView
Swing component.
p
with the velocity
v
.
r
and
the lifetime lt
.
r
, the lifetime lt
and the position p
.
r
, the lifetime lt
,
the position p
and the velocity v
.
r
, the lifetime lt
,
the position p
,
the velocity v
and the acceleration a
.
other
.
o
is of the type Tuple2
and
the elements of o
are equal to the
corresponding elements in this tuple.
n
.
null
if the universe is infinite.
i
th counterpart of the collision.
n
.
n
.
null
if the universe is infinite.
null
if the universe is infinite.
null
if
the body has no owner.
String
object of the
parameter n
.
Point2
objects.
other
.
other
.
other
.
other
.
true
if the body is corporeal or
false
if the body is ethereal.
true
if the view uses the normal coordinate
system.
other
.
true
if the view uses the screen coordinate
system.
is
.
m
,
the radius r
and the lifetime lt
.
m
,
the radius r
, the lifetime lt
and the position p
.
m
,
the radius r
, the lifetime lt
,
the position p
and the velocity v
.
m
,
the radius r
, the lifetime lt
,
the position p
,
the velocity v
and the acceleration a
.
Paint
object that is used for filling
the shape.
p
heading at
the direction of the angle t
and launched by the ship
s
.
null
.
b
from the universe and sets its
owner to null
.
os
.
other
.
source
to the point
target
.
other
.
other
.
a
.
t
(in radians).
c
.
dx
.
dy
.
v
.
lt
seconds.
m
.
u
.
n
to the Boolean value
v
.
n
to the double-precision
floating point value v
.
n
to the integer value
v
.
n
to the String
object s
.
p
.
r
.
v
.
s
.
v
.
r
.
x
.
y
.
z
.
Graphics2D
context. Shape
object that defines the appearance
of the object.
Shapable
objects. s
.
s
with the zoom factor z
.
s
with the zoom factor z
using the screen coordinate
system if c == true
or the normal coordinate
system if c == false
.
p
pointing at a random
direction.
t
in the universe.
p
with the velocity
v
.
Stroke
object that is used for drawing
the outline.
source
according to this vector.
v
.
p
according to the type
of the universe.
Body
objects.
Body
objects that have been
counterparts in a collision. b1
and b2
source
to this point.
target
.
Point2
objects.
|
||||||||
PREV NEXT | FRAMES NO FRAMES |