package org.fountanio.world;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;

import org.fountanio.world.Tile;
import org.fountanio.juancode.out.Main;

public class World  {
	
	private Tile[] world;
	public final int MAX_WIDTH = 120;
	public final int MAX_HEIGHT = 40;
	private int tick = 0;
	
	public void loadWorld(String path) throws IOException {
		File file = new File(path);
		Reader re = new FileReader(file);
		BufferedReader reader = new BufferedReader(re);
		if (file.exists()) {
			Main.getConsole().println("Reading map...");
			while (reader.ready()) {
				String parse[] = reader.readLine().trim().split(",");
				
				tick++; 
			}
			Main.getConsole().println("Done!");
			re.close();
			reader.close();
		} else {
			Main.getConsole().errorln(path + " was not found!"); 
		}
	}
	
	public void render() {
		
	}
}

@@ -303,32 +303,39 @@
  world;%0A%09public 
+static 
 final int MAX_WI
@@ -353,16 +353,23 @@
 %09public 
+static 
 final in
@@ -941,14 +941,24 @@
 r() %7B%0A%09%09
+// lil wot
 %0A%09%7D%0A%7D%0A

Make MAX_WIDTH and MAX_HEIGHT static