Job + Spell merge #9
@@ -14,7 +14,7 @@ import java.util.List;
|
||||
public class Player extends Entity implements Movable, Actor, HasInventory, HasJob, HasHealth {
|
||||
protected int health;
|
||||
protected Job job;
|
||||
protected Position position;
|
||||
protected Position position = new Position(0,0);
|
||||
protected Inventory inventory= new Inventory();
|
||||
public Player(String name, Job job) {
|
||||
super(name);
|
||||
@@ -35,7 +35,7 @@ public class Player extends Entity implements Movable, Actor, HasInventory, HasJ
|
||||
|
||||
@Override
|
||||
public boolean canMoveTo(Position position) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
public Job getJob() {
|
||||
return job;
|
||||
|
||||
Reference in New Issue
Block a user