public interface Coord extends Localizable
Modifier and Type | Method and Description |
---|---|
void |
set(double x,
double y)
Set the new coordinate.
|
void |
setX(double x)
Set the new horizontal location.
|
void |
setY(double y)
Set the new vertical location.
|
void |
translate(double vx,
double vy)
Translate coordinate using specified values.
|
getX, getY
void translate(double vx, double vy)
vx
- The horizontal force.vy
- The vertical force.void set(double x, double y)
x
- The new horizontal location.y
- The new vertical location.void setX(double x)
x
- The new horizontal location.void setY(double y)
y
- The new vertical location.Copyright © 2016 Byron 3D Games Studio. All rights reserved.