diff --git a/src/main/java/ca/blarg/gdx/graphics/atlas/MaterialTileMapping.java b/src/main/java/ca/blarg/gdx/graphics/atlas/MaterialTileMapping.java index 72ec865..17ca78b 100644 --- a/src/main/java/ca/blarg/gdx/graphics/atlas/MaterialTileMapping.java +++ b/src/main/java/ca/blarg/gdx/graphics/atlas/MaterialTileMapping.java @@ -14,14 +14,9 @@ public class MaterialTileMapping { } final ObjectMap mappings; - public final TextureAtlas atlas; - - public MaterialTileMapping(TextureAtlas atlas) { - if (atlas == null) - throw new IllegalArgumentException("atlas cannot be null."); + public MaterialTileMapping() { this.mappings = new ObjectMap(); - this.atlas = atlas; } public MaterialTileMapping add(String materialName, TextureRegion region) {