Escape-sprowe / src / escape / util / Location.java
Location.java
Raw
package escape.util;

import escape.interfaces.Coordinate;
import escape.enumerations.LocationType;
import escape.enumerations.Player;

public class Location implements Coordinate {
    private int x, y;
    private LocationType locationType;
    //private Player player;
    private GamePiece gamePiece;
    //private CoordinateType coordinateType;

    public Location(int x, int y){
        this.x = x;
        this.y = y;
    }

    public void setX(int x) {
        this.x = x;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    public LocationType getLocationType() {
        return locationType;
    }

    public void setLocationType(LocationType locationType) {
        this.locationType = locationType;
    }

    /*public Player getPlayer() {
        return player;
    }*/
    /*
    public void setPlayer(Player player) {
        this.player = player;
    } */

    public GamePiece getPiece() {
        return gamePiece;
    }

    public void setPiece(GamePiece piece) {
        gamePiece = piece;
    }


    /*public CoordinateType getCoordinateType() {
        return coordinateType;
    }

    public void setCoordinateType(CoordinateType coordinateType) {
        this.coordinateType = coordinateType;
    } */




}