Before Width: | Height: | Size: 260 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
@ -1,52 +0,0 @@
|
|||||||
package model;
|
|
||||||
|
|
||||||
public class Avatar {
|
|
||||||
int idAvatar;
|
|
||||||
String image;
|
|
||||||
int coordX;
|
|
||||||
int coordY;
|
|
||||||
|
|
||||||
public Avatar(int idAvatar, String image, int coordX, int coordY) {
|
|
||||||
this.idAvatar = idAvatar;
|
|
||||||
this.image = image;
|
|
||||||
this.coordX = coordX;
|
|
||||||
this.coordY = coordY;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Avatar(int idAvatar, String image) {
|
|
||||||
this.idAvatar = idAvatar;
|
|
||||||
this.image = image;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getIdAvatar() {
|
|
||||||
return idAvatar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getImage() {
|
|
||||||
return image;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getCoordX() {
|
|
||||||
return coordX;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getCoordY() {
|
|
||||||
return coordY;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIdAvatar(int idAvatar) {
|
|
||||||
this.idAvatar = idAvatar;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setImage(String image) {
|
|
||||||
this.image = image;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCoordX(int coordX) {
|
|
||||||
this.coordX = coordX;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCoordY(int coordY) {
|
|
||||||
this.coordY = coordY;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,57 +0,0 @@
|
|||||||
package model;
|
|
||||||
|
|
||||||
public class Case {
|
|
||||||
int idCase;
|
|
||||||
int coordX;
|
|
||||||
int coordY;
|
|
||||||
boolean isStart;
|
|
||||||
boolean isEnd;
|
|
||||||
|
|
||||||
public Case(int idCase, int coordX, int coordY, boolean isStart, boolean isEnd) {
|
|
||||||
this.idCase = idCase;
|
|
||||||
this.coordX = coordX;
|
|
||||||
this.coordY = coordY;
|
|
||||||
this.isStart = isStart;
|
|
||||||
this.isEnd = isEnd;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getIdCase() {
|
|
||||||
return idCase;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getCoordX() {
|
|
||||||
return coordX;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getCoordY() {
|
|
||||||
return coordY;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isStart() {
|
|
||||||
return isStart;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isEnd() {
|
|
||||||
return isEnd;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIdCase(int idCase) {
|
|
||||||
this.idCase = idCase;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCoordX(int coordX) {
|
|
||||||
this.coordX = coordX;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCoordY(int coordY) {
|
|
||||||
this.coordY = coordY;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setStart(boolean start) {
|
|
||||||
isStart = start;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setEnd(boolean end) {
|
|
||||||
isEnd = end;
|
|
||||||
}
|
|
||||||
}
|
|