public boolean move(int x, int y, ArrayList<int[]> walkList)
    {
        if(Game.inMap(x, y))
        {
            if(Game.paths.getMove(x, y) <= mov && Game.map.getUnit(x, y) == null)// && Game.paths.getMove(x, y) <= mov && mov != 0)
            {
                //pX = this.x;
                //pY = this.y;
                Game.moveUnit(x, y, this);
                this.walkList = walkList;
                this.x = x;
                this.y = y;
                //moved is set to true once the animation has completed, but can't I set it to true here?
                moved = true;
                //System.out.println("Moved to Grid(" + this.x + ", " + this.y + ")");
                return true;
            }
        }
        return false;
    }