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 80f6f6b..c486b4c 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 @@ -3,8 +3,6 @@ import net.arnx.jsonic.JSON; import org.ntlab.radishforandroidstudio.cactusClient.connections.CharactersConnection; -import org.ntlab.radishforandroidstudio.cactusClient.types.pojo.PlayerPojo; -import org.ntlab.radishforandroidstudio.cactusClient.types.pojo.PlayersPojo; import org.ntlab.radishforandroidstudio.framework.animation.Animation3D; import org.ntlab.radishforandroidstudio.framework.gameMain.Actor; import org.ntlab.radishforandroidstudio.framework.gameMain.OvergroundActor; @@ -31,10 +29,10 @@ * @author s.iwatani */ public class OtherPlayerCharactersModel implements CactusModel, CallBack { - private Universe universe = null; - private RealTime3DFragment fragment = null; + private Universe universe; + private RealTime3DFragment fragment; private ArrayList otherCharacters = new ArrayList<>(); - private CharactersConnection con = null; + private CharactersConnection con; private int nextConnectRenaimdTime = 0; private int connectInterval = 300; private Map visibleCharacters = new HashMap<>(); @@ -57,9 +55,8 @@ nextConnectRenaimdTime -= interval; if (nextConnectRenaimdTime <= 0) { nextConnectRenaimdTime = connectInterval; -// con.doAnything(); -// con.doGet(); - con.test(); + con.doAnything(); + con.doGet(); } }