diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/views/PlayerFragment.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/views/PlayerFragment.java index 2411b2f..7b57017 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/views/PlayerFragment.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/views/PlayerFragment.java @@ -35,7 +35,7 @@ private OvergroundActor pocha; RWTPad pad = null; private OwnPlayer player; - private Object objct; + private Object object; private OtherPlayerCharactersModel otherPlayerCharactersModel; private MovableObjectModel movableObjectModel; @@ -96,13 +96,10 @@ modelManager.addModel(otherPlayerCharactersModel); modelManager.setInstanceId(bundle.getString("instanceId")); //オブジェクトの生成 - String objectId =bundle.getString("objectId"); - movableObjectModel = new MovableObjectModel(this ,universe); + String objectId = bundle.getString("objectId"); + movableObjectModel = new MovableObjectModel(this, universe); movableObjectModel.setObjectId(objectId); modelManager.addModel(movableObjectModel); - modelManager.setInstanceId(bundle.getString("instanceId")); - - //画面の生成 initGameWindowView();