62,218 questions

Score of -1

1 answer

192 views

C++ compile error: 'Player' does not name a type when using one class inside another [duplicate]

I'm building a small game in C++ with raylib. I have a Game class that owns a Player object and a screenWindow object. My goal is for screenWindow to access the same Player instance that is created in...

Artem Kushniryk Herasym

  • reputation score 31
    asked Jul 17 at 11:57
    Score of 1...