diff --git a/src/main/java/cactusServer/entities/Character.java b/src/main/java/cactusServer/entities/Character.java new file mode 100644 index 0000000..220ab11 --- /dev/null +++ b/src/main/java/cactusServer/entities/Character.java @@ -0,0 +1,63 @@ +package cactusServer.entities; + +import java.net.URI; + +import framework.model3D.Position3D; +import framework.physics.AngularVelocity3D; +import framework.physics.Velocity3D; + +public class Character { + private URI account_uri; + private String name; + private Position3D position; +// private Angle angle; +// private Camera camera_state; +// private Emote emote_state; +// private Model model; + private String area_id; + private boolean is_active; + + public Character(URI accountURI, String name, Position3D position, String areaId, boolean isActive) { + this.account_uri = accountURI; + this.name = name; + this.position = position; + this.area_id = areaId; + this.is_active = isActive; + } + + public URI getAccountURI() { + return account_uri; + } + + public void setAccountURI(URI accountURI) { + this.account_uri = accountURI; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Position3D getPosition() { + return position; + } + + public void setPosition(Position3D position) { + this.position = position; + } + + public boolean isAactive() { + return is_active; + } + + public void setActive(boolean isActive) { + this.is_active = isActive; + } + + public String getAreaId() { + return area_id; + } +}