Unknown error with a multiple file program

Hi! I'm not sure what to do about this error as nothing I've seen about it has used multiple files and thus doesn't line up with my problem. The implementation file (SimonGame.cpp) does have a header file (SimonGame.h) if that matters.
It should be caused by this file since it's the only one I've had to write, the other files were written for me by my professor. If it doesn't seem to be this program, I'm happy to amend this post and post the others. Thank you for any help!

vv SimonGame.cpp vv

#include "SimonGame.h"
 
  SimonGame::SimonGame(int _redLEDpin, int _greenLEDpin, int _yellowLEDpin, int _blueLEDpin, bool _debugMode) {
    redLEDpin = _redLEDpin;
    greenLEDpin = _greenLEDpin;
    yellowLEDpin = _yellowLEDpin;
    blueLEDpin = _blueLEDpin;
    debugMode = _debugMode;

    pinMode(redLEDpin, OUTPUT);
    pinMode(greenLEDpin, OUTPUT);
    pinMode(yellowLEDpin, OUTPUT);
    pinMode(blueLEDpin, OUTPUT);

    if (debugMode) {
      srand (20);
    }
    roundNum = 1;
    displaySpeed = 1000;
    gameOn = true;
  }

  void SimonGame::displayColors() {
  
  }

  int SimonGame::getRoundNumber() {
    return 0;
  }

  void SimonGame::nextRound() {
    
  }

vv Error vv

C:\Users\BILLY\AppData\Local\Temp\ccjcZokO.ltrans0.ltrans.o: In function `main':

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `setup'

C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:46: undefined reference to `loop'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

The error is not in what you posted.

All Arduino sketches are required to have the two functions Setup and Loop defined. Yours obviously doesn't and that's why you are getting the error that These two functions are undefined.

JaBa:
The error is not in what you posted.

All Arduino sketches are required to have the two functions Setup and Loop defined. Yours obviously doesn't and that's why you are getting the error that These two functions are undefined.

I misunderstood what you meant initially but now understand what you mean! I had commented out my setup and loop functions in a separate file because they were from the professor and using functions I hadn't added yet so they were sending errors. I was able to make it work. Thank you for bringing my attention to these!

Look for unclosed if statements and functions. The compiler is not seeing the setup and loop because a function has not been closed properly so it sees the setup and loop as errors.