Class LocationVector
java.lang.Object
de.hamstersimulator.objectsfirst.datatypes.LocationVector
A location vector is a vector in the mathematical sense. It can be used to describe a location
relative to another location.
- Author:
- Steffen Becker
-
Constructor Summary
ConstructorDescriptionLocationVector(int newDeltaRow, int newDeltaColumn)
Creates a new location vector with the given vector deltas. -
Method Summary
-
Constructor Details
-
LocationVector
public LocationVector(int newDeltaRow, int newDeltaColumn)Creates a new location vector with the given vector deltas.- Parameters:
newDeltaRow
- The delta in the row count. Can be any integer.newDeltaColumn
- The delta in the column count. Can be any integer.
-
-
Method Details