Package break_out.model
Class Vector2D
- java.lang.Object
-
- break_out.model.Vector2D
-
-
Constructor Summary
Constructors Constructor Description Vector2D(double dx, double dy)
This constructor creates a new vector with the given x and y parts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDx()
Getter for the dx-partdouble
getDy()
Getter for the dy-partvoid
rescale()
Rescale partvoid
setDx(double dx)
Setter for the dx-partvoid
setDy(double dy)
Setter for the dy-part
-