@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RunConfigurationProducerService">
|
||||||
|
<option name="ignoredProducers">
|
||||||
|
<set>
|
||||||
|
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||||
|
</set>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
@ -1,4 +1,21 @@
|
|||||||
package launcher;
|
package launcher;
|
||||||
|
|
||||||
|
import model.Avatar;
|
||||||
|
import model.Case;
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
|
public static void Main (String[] args) {
|
||||||
|
Case depart = new Case(1,10,10,true,false);
|
||||||
|
Avatar avatar1 = new Avatar(1,"Perso1.1.png",0,0);
|
||||||
|
int xdepart = depart.getCoordX();
|
||||||
|
avatar1.setCoordX(xdepart);
|
||||||
|
int ydepart = depart.getCoordY();
|
||||||
|
avatar1.setCoordY(ydepart);
|
||||||
|
int xavatar1 = avatar1.getCoordX();
|
||||||
|
int yavatar1 = avatar1.getCoordY();
|
||||||
|
System.out.println("xavatar1 = " + xavatar1);
|
||||||
|
System.out.println("yavatar1 = " + yavatar1);
|
||||||
|
System.out.println("xdepart = " + xdepart);
|
||||||
|
System.out.println("ydepart = " + ydepart);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
package model;
|
package model;
|
||||||
|
|
||||||
public class CaseChance extends Case{
|
public class CaseChance extends Case{
|
||||||
char bonus;
|
String bonus;
|
||||||
|
|
||||||
public CaseChance(int idCase, int coordX, int coordY, boolean isStart, boolean isEnd, char bonus) {
|
public CaseChance(int idCase, int coordX, int coordY, boolean isStart, boolean isEnd, String bonus) {
|
||||||
super(idCase, coordX, coordY, isStart, isEnd);
|
super(idCase, coordX, coordY, isStart, isEnd);
|
||||||
this.bonus = bonus;
|
this.bonus = bonus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public char getBonus() {
|
public String getBonus() {
|
||||||
return bonus;
|
return bonus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBonus(char bonus) {
|
public void setBonus(String bonus) {
|
||||||
this.bonus = bonus;
|
this.bonus = bonus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
package model;
|
package model;
|
||||||
|
|
||||||
public class CaseEvenement extends Case{
|
public class CaseEvenement extends Case{
|
||||||
char evenement;
|
String evenement;
|
||||||
|
|
||||||
public CaseEvenement(int idCase, int coordX, int coordY, boolean isStart, boolean isEnd, char evenement) {
|
public CaseEvenement(int idCase, int coordX, int coordY, boolean isStart, boolean isEnd, String evenement) {
|
||||||
super(idCase, coordX, coordY, isStart, isEnd);
|
super(idCase, coordX, coordY, isStart, isEnd);
|
||||||
this.evenement = evenement;
|
this.evenement = evenement;
|
||||||
}
|
}
|
||||||
|
|
||||||
public char getEvenement() {
|
public String getEvenement() {
|
||||||
return evenement;
|
return evenement;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEvenement(char evenement) {
|
public void setEvenement(String evenement) {
|
||||||
this.evenement = evenement;
|
this.evenement = evenement;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
package model;
|
package model;
|
||||||
|
|
||||||
public class CaseMalchance extends Case{
|
public class CaseMalchance extends Case {
|
||||||
char malus;
|
String malus;
|
||||||
|
|
||||||
public CaseMalchance(int idCase, int coordX, int coordY, boolean isStart, boolean isEnd, char malus) {
|
public CaseMalchance(int idCase, int coordX, int coordY, boolean isStart, boolean isEnd, String malus) {
|
||||||
super(idCase, coordX, coordY, isStart, isEnd);
|
super(idCase, coordX, coordY, isStart, isEnd);
|
||||||
this.malus = malus;
|
this.malus = malus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public char getMalus() {
|
public String getMalus() {
|
||||||
return malus;
|
return malus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMalus(char malus) {
|
public void setMalus(String malus) {
|
||||||
this.malus = malus;
|
this.malus = malus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
After Width: | Height: | Size: 111 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
for x in {1..12} do
|
||||||
|
for y in {1..8} do
|
||||||
|
xd=x*48;
|
||||||
|
yd=y*48;
|
||||||
|
convert -extract 48x48+xd+yd D:\Documents\GitHub\projetJavaFX_Gitlab\documentation\people12.png D:\Documents\GitHub\projetJavaFX_Gitlab\documentation\perso.png
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<tileset version="1.5" tiledversion="1.7.2" name="personnage" tilewidth="48" tileheight="48" tilecount="96" columns="12">
|
||||||
|
<image source="../../../../Téléchargements/people12.png" width="576" height="384"/>
|
||||||
|
</tileset>
|