// Path: src/main/java/utilties/entities/Empty.java
// public class Empty extends Entity {
// 
// 
//     /**
//      * Empty Entity.  Placed in a tile without any Objects
//      */
//     public Empty(Point location) {
//         this.location = location;
//         this.entityType = EntityType.EMPTY;
//     }
// 
// }
// 
// Path: src/main/java/utilties/entities/Entity.java
// public abstract class Entity {
// 
//     protected EntityType entityType = null;
// 
//     protected Point location;
// 
//     /*
//     Entity Type enum
//      */
//     public enum EntityType {
//         EMPTY, PLAYER
//     }
// 
// 
//     public void setLocation(Point location) {
//         this.location = location;
//     }
// 
//     public Point getLocation() {
//         return this.location;
//     }
// 
//     public EntityType getEntityType() {
//         return this.entityType;
//     }
// 
// 
// }
// 
// Path: src/main/java/utilties/entities/Player.java
// public class Player extends Entity {
// 
//     private int id;
//     private int health;
//     private int damage;
//     private boolean isShielding;
//     private int shieldStrength;
// 
//     /**
//      * @param id       Player ID
//      * @param location Location of where Player will be added
//      */
//     public Player(int id, Point location) {
//         this.id = id;
//         this.health = 100;
//         this.damage = 10;
//         this.location = location;
//         entityType = EntityType.PLAYER;
//         this.isShielding = false;
//         this.shieldStrength = 5;
//     }
// 
//     /**
//      * Get the ID of the player
//      *
//      * @return ID of player
//      */
//     public int getId() {
//         return this.id;
//     }
// 
//     /**
//      * Get health of Player
//      *
//      * @return Health of Player
//      */
//     public int getHealth() {
//         return this.health;
//     }
// 
// 
//     /**
//      * Set health of player
//      *
//      * @param health Health to change to
//      */
//     public void setHealth(int health) {
//         this.health = health;
//     }
// 
// 
//     public int getDamage() {
//         return damage;
//     }
// 
//     public void setDamage(int damage) {
//         this.damage = damage;
//     }
// 
// 
//     public boolean isShielding() {
//         return isShielding;
//     }
// 
//     public void setShielding(boolean shielding) {
//         isShielding = shielding;
//     }
// 
//     public int getShieldStrength() {
//         return shieldStrength;
//     }
// 
//     public void setShieldStrength(int shieldStrength) {
//         this.shieldStrength = shieldStrength;
//     }
// 
// }


import org.mapeditor.core.Map;
import org.mapeditor.core.MapLayer;
import org.mapeditor.core.Tile;
import org.mapeditor.core.TileLayer;
import utilties.entities.Empty;
import utilties.entities.Entity;
import utilties.entities.Player;
import java.awt.*;
import java.util.ArrayList;
        }

        ArrayList<Tile> playerTiles = new ArrayList<>();
        Point playerLocation = null;
        Point opponentLocation = null;

        //Iterate through player layer to find player tiles
        Tile tile;
        for (int y = 0; y < height; y++) {
            for (int x = 0; x < width; x++) {
                tile = playerLayer.getTileAt(x, y);
                if (tile == null) {
                    continue;
                } else {
                    //If we haven't found a player yet, then tile found is player
                    if (playerTiles.size() == 0) {
                        playerLocation = new Point(x, y);
                    } else {
                        opponentLocation = new Point(x, y);
                    }
                    playerTiles.add(tile);
                }
            }
        }

        //Grab references
        Tile playerTile = playerTiles.get(0);
        Tile opponentTile = playerTiles.get(1);

        //Add tiles to corresponding entity tile
// Path: src/main/java/utilties/entities/Empty.java
// public class Empty extends Entity {
// 
// 
//     /**
//      * Empty Entity.  Placed in a tile without any Objects
//      */
//     public Empty(Point location) {
//         this.location = location;
//         this.entityType = EntityType.EMPTY;
//     }
// 
// }
// 
// Path: src/main/java/utilties/entities/Entity.java
// public abstract class Entity {
// 
//     protected EntityType entityType = null;
// 
//     protected Point location;
// 
//     /*
//     Entity Type enum
//      */
//     public enum EntityType {
//         EMPTY, PLAYER
//     }
// 
// 
//     public void setLocation(Point location) {
//         this.location = location;
//     }
// 
//     public Point getLocation() {
//         return this.location;
//     }
// 
//     public EntityType getEntityType() {
//         return this.entityType;
//     }
// 
// 
// }
// 
// Path: src/main/java/utilties/entities/Player.java
// public class Player extends Entity {
// 
//     private int id;
//     private int health;
//     private int damage;
//     private boolean isShielding;
//     private int shieldStrength;
// 
//     /**
//      * @param id       Player ID
//      * @param location Location of where Player will be added
//      */
//     public Player(int id, Point location) {
//         this.id = id;
//         this.health = 100;
//         this.damage = 10;
//         this.location = location;
//         entityType = EntityType.PLAYER;
//         this.isShielding = false;
//         this.shieldStrength = 5;
//     }
// 
//     /**
//      * Get the ID of the player
//      *
//      * @return ID of player
//      */
//     public int getId() {
//         return this.id;
//     }
// 
//     /**
//      * Get health of Player
//      *
//      * @return Health of Player
//      */
//     public int getHealth() {
//         return this.health;
//     }
// 
// 
//     /**
//      * Set health of player
//      *
//      * @param health Health to change to
//      */
//     public void setHealth(int health) {
//         this.health = health;
//     }
// 
// 
//     public int getDamage() {
//         return damage;
//     }
// 
//     public void setDamage(int damage) {
//         this.damage = damage;
//     }
// 
// 
//     public boolean isShielding() {
//         return isShielding;
//     }
// 
//     public void setShielding(boolean shielding) {
//         isShielding = shielding;
//     }
// 
//     public int getShieldStrength() {
//         return shieldStrength;
//     }
// 
//     public void setShieldStrength(int shieldStrength) {
//         this.shieldStrength = shieldStrength;
//     }
// 
// }


// Path: src/main/java/utilties/models/EntityMap.java
import org.mapeditor.core.Map;
import org.mapeditor.core.MapLayer;
import org.mapeditor.core.Tile;
import org.mapeditor.core.TileLayer;
import utilties.entities.Empty;
import utilties.entities.Entity;
import utilties.entities.Player;
import java.awt.*;
import java.util.ArrayList;

        }

        ArrayList<Tile> playerTiles = new ArrayList<>();
        Point playerLocation = null;
        Point opponentLocation = null;

        //Iterate through player layer to find player tiles
        Tile tile;
        for (int y = 0; y < height; y++) {
            for (int x = 0; x < width; x++) {
                tile = playerLayer.getTileAt(x, y);
                if (tile == null) {
                    continue;
                } else {
                    //If we haven't found a player yet, then tile found is player
                    if (playerTiles.size() == 0) {
                        playerLocation = new Point(x, y);
                    } else {
                        opponentLocation = new Point(x, y);
                    }
                    playerTiles.add(tile);
                }
            }
        }

        //Grab references
        Tile playerTile = playerTiles.get(0);
        Tile opponentTile = playerTiles.get(1);

        //Add tiles to corresponding entity tile
        EntityTile playerEntityTile = new EntityTile(playerLocation, new Player(0, playerLocation), playerTile);