public interface Coord
Modifier and Type | Method and Description |
---|---|
double |
getX()
Get the horizontal location.
|
double |
getY()
Get the vertical location.
|
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.
|
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.double getX()
double getY()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.