diff --git a/src/main/java/cactusServer/entities/Character.java b/src/main/java/cactusServer/entities/Character.java index 2aa5a93..a4d24f0 100644 --- a/src/main/java/cactusServer/entities/Character.java +++ b/src/main/java/cactusServer/entities/Character.java @@ -6,7 +6,7 @@ import java.util.Map; import org.ntlab.radishforandroidstudio.framework.model3D.Position3D; -import org.ntlab.radishforandroidstudio.framework.model3D.Quaternion3D; +//import org.ntlab.radishforandroidstudio.framework.model3D.Angle; import cactusServer.models.Instances; import cactusServer.utils.RandomStringGenerator; @@ -17,7 +17,7 @@ private String areaURI; private String name; private Position3D position; - private Quaternion3D angle; + private Angle angle; private String modelID; private HashMap itemMap = new HashMap<>(); @@ -28,7 +28,7 @@ // JSONDecode���̌Ăяo���p } - public Character(String instanceId, String accountURI, String name, Position3D position, Quaternion3D angle, + public Character(String instanceId, String accountURI, String name, Position3D position, Angle angle, String modelID) { setAccountURI(accountURI); setName(name); @@ -50,7 +50,7 @@ return position; } - public Quaternion3D getAngle() { + public Angle getAngle() { return angle; } @@ -84,7 +84,7 @@ this.position = position; } - public void setAngle(Quaternion3D angle) { + public void setAngle(Angle angle) { this.angle = angle; } @@ -142,7 +142,7 @@ return ""; } - public void update(Position3D position, Quaternion3D angle, String modelID, String areaURI) { + public void update(Position3D position, Angle angle, String modelID, String areaURI) { setPosition(position); setAngle(angle); if (modelID != null) {