package org.project.location;

import org.project.entity.enemies.Enemy;

import java.util.ArrayList;

public class Location {

    private String name;
    private ArrayList<Enemy> enemies;

    public Location(String name, ArrayList<Enemy> enemies) {
        this.name = name;
        this.enemies = enemies;
    }

    public String getName() {
        return name;
    }

    public ArrayList<Enemy> getEnemies() {return enemies;}

    public Enemy getEnemy(int index) {return enemies.get(index); }
}
