summaryrefslogtreecommitdiff
path: root/ihl/model/IHLModelRenderer.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-01-27 11:32:28 +0300
commit2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch)
treee8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/model/IHLModelRenderer.java
parentffe23313fb7421b0a1849b420baf708999023f7b (diff)
License, readme and stuff
Diffstat (limited to 'ihl/model/IHLModelRenderer.java')
-rw-r--r--ihl/model/IHLModelRenderer.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/ihl/model/IHLModelRenderer.java b/ihl/model/IHLModelRenderer.java
index c9b1b77..a9168f8 100644
--- a/ihl/model/IHLModelRenderer.java
+++ b/ihl/model/IHLModelRenderer.java
@@ -39,8 +39,8 @@ public class IHLModelRenderer {
/** Hides the model. */
public boolean isHidden;
- public List cubeList;
- public List childModels;
+ public List<Object> cubeList;
+ public List<ModelRenderer> childModels;
public final String boxName;
private ModelBase baseModel;
public float offsetX;
@@ -48,14 +48,14 @@ public class IHLModelRenderer {
public float offsetZ;
public boolean drawFromInside=false;
- private static final String __OBFID = "CL_00000874";
-
- public IHLModelRenderer(ModelBase par1ModelBase, String par2Str)
+
+ @SuppressWarnings("unchecked")
+ public IHLModelRenderer(ModelBase par1ModelBase, String par2Str)
{
this.textureWidth = 64.0F;
this.textureHeight = 32.0F;
this.showModel = true;
- this.cubeList = new ArrayList();
+ this.cubeList = new ArrayList<Object>();
this.baseModel = par1ModelBase;
par1ModelBase.boxList.add(this);
this.boxName = par2Str;
@@ -80,7 +80,7 @@ public class IHLModelRenderer {
{
if (this.childModels == null)
{
- this.childModels = new ArrayList();
+ this.childModels = new ArrayList<ModelRenderer>();
}
this.childModels.add(par1ModelRenderer);