parent
22ae223909
commit
ae409399cf
@ -0,0 +1,39 @@
|
|||||||
|
package model;
|
||||||
|
|
||||||
|
public class Creature {
|
||||||
|
int idCreature;
|
||||||
|
String image;
|
||||||
|
int coordX;
|
||||||
|
int coordY;
|
||||||
|
|
||||||
|
public Creature(int idCreature, String image, int coordX, int coordY) {
|
||||||
|
this.idCreature = idCreature;
|
||||||
|
this.image = image;
|
||||||
|
this.coordX = coordX;
|
||||||
|
this.coordY = coordY;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getIdCreature() {
|
||||||
|
return idCreature;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getImage() {
|
||||||
|
return image;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getCoordX() {
|
||||||
|
return coordX;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getCoordY() {
|
||||||
|
return coordY;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCoordX(int coordX) {
|
||||||
|
this.coordX = coordX;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCoordY(int coordY) {
|
||||||
|
this.coordY = coordY;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue