Commit 41f90126 authored by Davisson Henrique Paulino's avatar Davisson Henrique Paulino
Browse files

Adicionado as classes Tile e PointD

parent 64054b0d
package ufpr.inf.pet.geoloc;
/**
* Created by pet on 20/05/15.
*/
public class PointD {
private double x;
private double y;
public double getX() {
return x;
}
public void setX(double x) {
this.x = x;
}
public double getY() {
return y;
}
public void setY(double y) {
this.y = y;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("(").append(x).append(",").append(y).append(")");
return sb.toString();
}
}
package ufpr.inf.pet.geoloc;
import android.graphics.Bitmap;
/**
* Created by pet on 20/05/15.
*/
public class Tile {
private int x;
private int y;
private Bitmap img;
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public int getY() {
return y;
}
public void setY(int y) {
this.y = y;
}
public Bitmap getImg() {
return img;
}
public void setImg(Bitmap img) {
this.img = img;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment