diff --git a/src/main/java/cactusServer/models/CharacterModelManager.java b/src/main/java/cactusServer/models/CharacterModelManager.java index a4f0277..f3b2f24 100644 --- a/src/main/java/cactusServer/models/CharacterModelManager.java +++ b/src/main/java/cactusServer/models/CharacterModelManager.java @@ -2,8 +2,6 @@ import java.io.IOException; import java.io.UnsupportedEncodingException; -import java.net.URI; -import java.net.URL; import java.net.URLDecoder; import java.util.HashMap; import java.util.Map; @@ -11,10 +9,6 @@ import org.ntlab.radishforandroidstudio.framework.model3D.Model3D; import org.ntlab.radishforandroidstudio.framework.model3D.ModelFactory; import org.ntlab.radishforandroidstudio.framework.model3D.ModelFileFormatException; -import org.ntlab.radishforandroidstudio.framework.model3D.Object3D; -import org.ntlab.radishforandroidstudio.framework.physics.Ground; - -import cactusServer.entities.Instance; public class CharacterModelManager { private static CharacterModelManager theInstance = null; @@ -23,9 +17,9 @@ private CharacterModelManager() { initCharacterModels(); } - + private void initCharacterModels() { - String[] initCharacterModelFileNames = {"pocha.stl", "Head4.obj"}; + String[] initCharacterModelFileNames = { "pocha.stl", "Head4.obj" }; for (String fileName : initCharacterModelFileNames) { String path = Instances.class.getResource(fileName).getPath(); try { @@ -62,7 +56,7 @@ public Model3D getCharacterModel(int id) { return characterModels.get(id); } - + public int getCharacterModelCount() { return characterModels.size(); }