diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/OtherPlayerCharactersModel.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/OtherPlayerCharactersModel.java index 51c4c42..735e0bf 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/OtherPlayerCharactersModel.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/models/OtherPlayerCharactersModel.java @@ -1,10 +1,14 @@ package org.ntlab.radishforandroidstudio.cactusClient.models; +import net.arnx.jsonic.JSON; + import org.ntlab.radishforandroidstudio.cactusClient.connections.CharactersConnection; import org.ntlab.radishforandroidstudio.framework.gameMain.Actor; import org.ntlab.radishforandroidstudio.framework.network.CallBack; import java.util.ArrayList; +import java.util.List; +import java.util.Map; /** * 自キャラ以外の全操作キャラを管理するモデル @@ -40,6 +44,11 @@ @Override public void onResponse(String response) { - System.out.println(response); + JSON json = new JSON(); + List m = json.decode(response); + for (Map map : m) { + // 状態更新 + + } } }