More interface work

This commit is contained in:
pahimar authored and Christian committed 2013-04-10 18:30:25 -04:00
1 parent 091c4ab6ac
commit d4b71ef964
2 files changed
+3 -10

No files matched your search

@@ -4,7 +4,7 @@ package net.minecraftforge.client.model;
public interface IModelCustom {
public abstract void load(String fileName);
public abstract IModelCustom load(String fileName);
public abstract void renderAll();
@@ -60,16 +60,9 @@ public class WavefrontObject implements IModelCustom
}
}
public void load(String fileName)
public IModelCustom load(String fileName)
{
try
{
loadObjModel(this.getClass().getResource(fileName));
}
catch (DataFormatException e)
{
e.printStackTrace();
}
return new WavefrontObject(fileName);
}
public void load()