<commit_before>package model.map.tile;

import model.map.CubeVector;

/**
 * Created by TheNotoriousOOP on 3/26/2017.
 * Class Description:
 * Responsibilities:
 */
public abstract class Tile {

    private CubeVector location;
    private Zone[] zones;

    Tile(CubeVector location, Zone[] zones){
        this.location = location;
        this.zones = zones;
    }

    public CubeVector getLocation() {
        return location;
    }

    public void setLocation(CubeVector location) {
        this.location = location;
    }

    public Zone[] getZones() {
        return zones;
    }

    //Offset by 1 for ease of use
    public Zone getSpecificZone(int number){
        if(number < 0 || number > 5){
            System.out.println("CLASS TILE: Error with zones");
        }
        return zones[number+1];
    }

    //public abstract void buildStructure(Structure target);
    //Not needed until Phase 2

}<commit_msg>Fixed the offset<commit_after>package model.map.tile;

import model.map.CubeVector;

/**
 * Created by TheNotoriousOOP on 3/26/2017.
 * Class Description:
 * Responsibilities:
 */
public abstract class Tile {

    private CubeVector location;
    private Zone[] zones;

    Tile(CubeVector location, Zone[] zones){
        this.location = location;
        this.zones = zones;
    }

    public CubeVector getLocation() {
        return location;
    }

    public void setLocation(CubeVector location) {
        this.location = location;
    }

    public Zone[] getZones() {
        return zones;
    }

    //Offset by 1 for ease of use
    public Zone getSpecificZone(int number){
        if(number < 0 || number > 5){
            System.out.println("CLASS TILE: Error with zones");
            return zones[0];
        }
        return zones[number-1];
    }

    //public abstract void buildStructure(Structure target);
    //Not needed until Phase 2

}
{'fraction_non_alphanumeric': 0.10021208907741251, 'fraction_numerical': 0.013255567338282079, 'mean_word_length': 2.393884892086331, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4649005', 'n_tokens_mistral': 566, 'n_tokens_neox': 526, 'n_words': 160}