Przy deklaracji funkcji bool w klasie ship poazuje mi błąd że nie zadeklarowałem 'player' gdzie dałem include do pliku z deklaracją klasy player
#pragma once
#include "fields.h"
#include "player.h"
#include "SFML/Network.hpp"
using namespace std;
enum Direction{Up, Left, Down, Right, None};
class ship{
int shiplength;
int currentshiplenght;
Direction Shipdr;
int ship_x;
int ship_y;
field* T[SHIP_LENGTH_MAX];
public:
bool setShip(int y, int x, int Length, Direction dir, player p);
int getX() { return ship_x; }
int getY() { return ship_y; }
void setCurrentLength() { currentshiplenght = shiplength; }
int& RefShipLength() { return currentshiplenght;}
int getFirstLength() { return shiplength; }
void SinkShip(player*);
ship& operator=(ship&);
friend sf::Packet& operator <<(sf::Packet& packet, const ship& m);
friend sf::Packet& operator >>(sf::Packet& packet, ship& m);
friend void ClearArea(ship&, field**);
void DrawShip() { cout << ship_x << " " << ship_y << " " << Shipdr << " " << shiplength << endl; }
};