Make Renderer.initialize() a standard method since everyone already uses it anyway

This commit is contained in:
shadowislord 2014-12-05 22:15:40 -05:00
parent ad26e916ee
commit d8b9c6dab5
2 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,8 @@ import java.util.EnumSet;
*/
public interface Renderer {
public void initialize();
/**
* Get the capabilities of the renderer.
* @return The capabilities of the renderer.

View File

@ -54,6 +54,9 @@ public class NullRenderer implements Renderer {
private static final EnumSet<Caps> caps = EnumSet.noneOf(Caps.class);
private static final Statistics stats = new Statistics();
public void initialize() {
}
public EnumSet<Caps> getCaps() {
return caps;
}