// Path: game/src/main/java/interfaces/RandomFileAccessible.java
// public interface RandomFileAccessible {
// 	public void read(RandomAccessFile raf) throws IOException;
// 
// 	public void write(RandomAccessFile raf) throws IOException;
// }


import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.List;
import interfaces.RandomFileAccessible;;
/**
 * Open-source Game Boy inspired game. 
 * 
 * Created by tom_mai78101. Hobby game programming only.
 *
 * All rights copyrighted to The Pokémon Company and Nintendo. 
 */

package data.mod;



public class AreaInfo implements RandomFileAccessible {
	public static final byte[] AREA = "AREA".getBytes(); // Current Area.
	public static final byte[] PIXELDATA = "PXDT".getBytes(); // Changed pixels data.
	public static final int PixelDataByteSize = (4 * 5 + 1);

	public final byte[] current_area_id = new byte[4];
	public final byte[] current_area_sector_id = new byte[4];
	public final List<byte[]> changedPixelData = new ArrayList<>();
	public int size;

// Path: game/src/main/java/interfaces/RandomFileAccessible.java
// public interface RandomFileAccessible {
// 	public void read(RandomAccessFile raf) throws IOException;
// 
// 	public void write(RandomAccessFile raf) throws IOException;
// }


// Path: game/src/main/java/data/mod/AreaInfo.java
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.List;
import interfaces.RandomFileAccessible;;

/**
 * Open-source Game Boy inspired game. 
 * 
 * Created by tom_mai78101. Hobby game programming only.
 *
 * All rights copyrighted to The Pokémon Company and Nintendo. 
 */

package data.mod;



public class AreaInfo implements RandomFileAccessible {
	public static final byte[] AREA = "AREA".getBytes(); // Current Area.
	public static final byte[] PIXELDATA = "PXDT".getBytes(); // Changed pixels data.
	public static final int PixelDataByteSize = (4 * 5 + 1);

	public final byte[] current_area_id = new byte[4];
	public final byte[] current_area_sector_id = new byte[4];
	public final List<byte[]> changedPixelData = new ArrayList<>();
	public int size;

	public AreaInfo() {