diff --git a/src/main/java/cactusServer/entities/Player.java b/src/main/java/cactusServer/entities/Player.java index fc9ddbf..d13ab22 100644 --- a/src/main/java/cactusServer/entities/Player.java +++ b/src/main/java/cactusServer/entities/Player.java @@ -1,5 +1,6 @@ package cactusServer.entities; +import org.ntlab.radishforandroidstudio.framework.gameMain.Actor; import org.ntlab.radishforandroidstudio.framework.model3D.Position3D; import cactusServer.models.Instances; @@ -27,6 +28,12 @@ setCameraState(cameraState); setAnimationClassToStart(animationClassToStart); readCharacterData(characterURI); + // ����Ȋ����œ��Y�R���X�g���N�^�̍Ō��placeable�̒������s��(��ۃN���X�̎��������܂��c�����Ă��Ȃ�) + // setPlaceable(new Actor()); + // ��������Instance������Universe��placeable��z�u���� + String[] instanceURISplit = instanceURI.split("/"); // �c�c/instances/{instanceId} + String instanceId = instanceURISplit[instanceURISplit.length - 1]; + Instances.getInstance().getInstance(instanceId).getUniverse().place(this.getPlaceable()); } private Character getCharacter(String characterURI) {