Ejemplo n.º 1
0
 public Modchu_ModelBiped(HashMap<String, Object> map) {
   map.put("base", this);
   Object instance = Modchu_Main.newModchuCharacteristicInstance(map);
   Modchu_Debug.mDebug("Modchu_ModelBiped instance=" + instance);
   master =
       instance instanceof Modchu_IModelBipedMaster ? (Modchu_IModelBipedMaster) instance : null;
 }
Ejemplo n.º 2
0
 private Modchu_Render renderMapGet(Entity entity) {
   Object entity2 = Modchu_Main.getModchuCharacteristicObjectMaster(entity);
   // Modchu_Debug.mDebug("renderMapGet entity2.getClass()="+(entity2 != null ? entity2.getClass()
   // : null));
   Class c = entity2 != null ? entity2.getClass() : entity.getClass();
   // Modchu_Debug.mDebug("renderMapGet c="+c);
   return renderMap.get(c);
 }
 public Modchu_SimpleBlockRenderingHandler(HashMap<String, Object> map) {
   map.put("base", this);
   Object instance = Modchu_Main.newModchuCharacteristicInstance(map);
   master =
       instance instanceof Modchu_ISimpleBlockRenderingHandlerMaster
           ? (Modchu_ISimpleBlockRenderingHandlerMaster) instance
           : null;
   // Modchu_Debug.mDebug("Modchu_SimpleBlockRenderingHandler init master="+master);
 }
Ejemplo n.º 4
0
 public Modchu_RenderLiving(HashMap<String, Object> map) {
   super((ModelBase) map.get("Object"), (Float) map.get("Float"));
   renderManager = (RenderManager) Modchu_AS.get(Modchu_AS.renderManagerInstance);
   Modchu_Debug.lDebug("Modchu_RenderLiving init renderManager=" + renderManager);
   map.put("base", this);
   Object instance = Modchu_Main.newModchuCharacteristicInstance(map);
   Modchu_Debug.mDebug("Modchu_RenderLiving init instance=" + instance);
   master =
       instance != null && instance instanceof Modchu_IRenderLivingMaster
           ? (Modchu_IRenderLivingMaster) instance
           : null;
 }