More interface work

This commit is contained in:
pahimar 2013-04-10 16:28:17 -04:00 committed by Christian
parent 091c4ab6ac
commit d4b71ef964
2 changed files with 3 additions and 10 deletions

View file

@ -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();

View file

@ -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()