mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-03-31 10:21:35 +00:00
correction
This commit is contained in:
@@ -3,11 +3,14 @@ package personnages;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import Item.Effects;
|
||||
import Item.Items;
|
||||
|
||||
public class Personnage {
|
||||
private int size;
|
||||
protected int[] coordinate;
|
||||
|
||||
public Items item;
|
||||
|
||||
private ArrayList<Effects> effectsList;
|
||||
|
||||
protected Personnage(int size, int[] coordinate) {
|
||||
@@ -15,6 +18,10 @@ public class Personnage {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public int[] getCoordinate() {
|
||||
return coordinate;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user