package me.shzylo.mansionazazelvisual.level;

import java.awt.image.BufferedImage;
import java.io.IOException;

import javax.imageio.ImageIO;

public class SpawnLevel extends Level {

  public SpawnLevel(String path) {
		super(path);
	}

	protected void loadLevel(String path) {
		try {
			BufferedImage image = ImageIO.read(SpawnLevel.class.getResource(path));
			int w = width = image.getWidth();
			int h = height = image.getHeight();
			tiles = new int[w * h];
			image.getRGB(0, 0, w, h, tiles, 0, w);
		} catch (IOException e) {
			e.printStackTrace();
			System.out.println("System Failed.");
		}
	}

	protected void generateLevel() {

	}
}

@@ -28,14 +28,8 @@
 azel
-visual
 .lev
@@ -130,16 +130,54 @@
 ageIO;%0A%0A
+/**%0A * Represents the spawn level%0A */%0A
 public c
@@ -213,10 +213,9 @@
  %7B%0A%0A
-  
+%09
 publ
@@ -258,24 +258,35 @@
 (path);%0A%09%7D%0A%0A
+%09@Override%0A
 %09protected v
@@ -539,16 +539,20 @@
 es, 0, w
+idth
 );%0A%09%09%7D c
@@ -604,54 +604,24 @@
 ;%0A%09%09
-%09System.out.println(%22System Failed.%22);%0A%09%09%7D%0A%09%7D%0A
+%7D%0A%09%7D%0A%0A%09@Override
 %0A%09pr
@@ -651,14 +651,13 @@
 vel() %7B%0A
-%0A
 %09%7D%0A%7D%0A

Update SpawnLevel.java