Class Vector
- java.lang.Object
-
- edu.ubo.satellitebeacons.main.space.Vector
-
public class Vector extends java.lang.Object
Represents a vector, a movement in 2d.
-
-
Constructor Summary
Constructors Constructor Description Vector(int x, int y)
New vector with the given x and y coordinates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getX()
Get coordinate on x axis.int
getY()
Get coordinate on y axis
-