diff --git a/src/main/java/cactusServer/entities/Character.java b/src/main/java/cactusServer/entities/Character.java index d04e582..40dfe65 100644 --- a/src/main/java/cactusServer/entities/Character.java +++ b/src/main/java/cactusServer/entities/Character.java @@ -22,14 +22,14 @@ @JSONHint(ignore = true) HashMap itemMap = new HashMap<>(); @JSONHint(ignore = true) private static final int UNIQUE_ID_LENGTH = 12; - public Character(URI accountURI, String name, Position3D position, String areaId, boolean isActive) { - this.accountURI = accountURI; - this.name = name; - this.position = position; - this.areaID = areaId; - this.isActive = isActive; - } - +// public Character(URI accountURI, String name, Position3D position, String areaId, boolean isActive) { +// this.accountURI = accountURI; +// this.name = name; +// this.position = position; +// this.areaID = areaId; +// this.isActive = isActive; +// } + public URI getAccountURI() { return accountURI; } @@ -62,9 +62,21 @@ return itemList; } + public void setAccountURI(URI accountURI) { + this.accountURI = accountURI; + } + + public void setName(String name) { + this.name = name; + } + public void setPosition(Position3D position) { this.position = position; } + + public void setAreaID(String areaID) { + this.areaID = areaID; + } public void setActive(boolean isActive) { this.isActive = isActive;