diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/MovableObjectModel.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/MovableObjectModel.java index c4bc8b7..a0f168c 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/MovableObjectModel.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/MovableObjectModel.java @@ -15,6 +15,7 @@ private RealTime3DFragment fragment; private ObjectsConnection objectsConnection; private String instanceId; + private String objectId; public MovableObjectModel(RealTime3DFragment fragment, Universe universe) { this.fragment = fragment; @@ -27,9 +28,17 @@ this.instanceId = id; } + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + /** + * オブジェクトの状態更新 + * + * @param interval 前回の更新からの時間差 + */ @Override public void update(double interval) { - }