The code is kinda heavy but the error is very specific. I got an LNK2005 error that telling me my initiation of my variable in my header file is already defined in a CPP file. In the header file all I have is a class named Game. I initialized my variables in two different CPP files like such
Game::Game()
{
//Initialize variables from class
}
// void or int function from class
{
ect......
}
It didn't give me this error in the first cpp file but it giving me problems in the second. Does anyone have any idea how to fix this?