class TiledLayer implements Comparable<TiledLayer> {

    public void setTileIDs(int[] tileIDs) {
        if (tileIDs == null) {
            throw new NullPointerException("tileIDs cannot be null.");
        }

        if (tileIDs.length != this.width * this.height) {
            throw new IllegalArgumentException("length of array does not fit with width & height, expected length: " + (this.width * this.height) + ", current length: " + tileIDs.length);
        }

        this.tileIDs = tileIDs;
    }

    public  TiledLayer(String name, int width, int height, float opacity, boolean visible, float offsetx, float offsety, int floor, int renderOrder);

}