mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
8dec458ba9
- From zoom level 20 to 1, once find a size that contains the whole boundary, then the size will be used to retrieve map image from google #story[928]
32 lines
377 B
Java
32 lines
377 B
Java
package seng302.models.map;
|
|
|
|
/**
|
|
* A class represent euclidean planar point (x, y)
|
|
* Created by Haoming on 15/5/2017
|
|
*/
|
|
class MapPoint {
|
|
|
|
private double x, y;
|
|
|
|
MapPoint(double x, double y) {
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
double getX() {
|
|
return x;
|
|
}
|
|
|
|
void setX(double x) {
|
|
this.x = x;
|
|
}
|
|
|
|
double getY() {
|
|
return y;
|
|
}
|
|
|
|
void setY(double y) {
|
|
this.y = y;
|
|
}
|
|
}
|