package me.hugmanrique.pokedata.maps;

import lombok.Getter;
import me.hugmanrique.pokedata.Data;
import me.hugmanrique.pokedata.connections.ConnectionData;
import me.hugmanrique.pokedata.utils.BitConverter;
import me.hugmanrique.pokedata.utils.ROM;

/**
 * Bulbapedia article missing
 * As the map data class contains a lot of values, each "section" is
 * separated into child classes
 * @author Hugmanrique
 * @since 30/04/2017
 */
@Getter
public class Map extends Data {
    private MapHeader header;
    private ConnectionData connections;

    public Map(ROM rom) {
        header = new MapHeader(rom);

        rom.seek(BitConverter.shortenPointer(header.getConnectPtr()));
        connections = new ConnectionData(rom);
    }
}

@@ -385,16 +385,161 @@
 s%0A *
- @author
+%0A * Data structure gathered by @shinyquagsire23,%0A * Extracted from MEH (https://github.com/shinyquagsire23/MEH)%0A * Thanks!%0A *%0A * @author shinyquagsire23,
  Hug

Add Map structure source