Including classes in header vs forward declaration in header and include in cpp

Does it affect gameplay at all in the end or is it just for the compile time?