package org.ntlab.SproutServer.battles; import framework.model3D.ModelFactory; import framework.model3D.Object3D; public class BulletModel { String modelFileName = null; String animationFileName = null; public BulletModel(String modelFileName, String animationFileName) { this.modelFileName = modelFileName; this.animationFileName = animationFileName; } public Object3D createObject() { Object3D object3D = null; try { object3D = ModelFactory.loadModel(modelFileName, false, false).createObject(); } catch (Exception e) { } return object3D; } }