A bunch of really stupid code-structure questions.

Started by
9 comments, last by Heelp 7 years, 6 months ago
Given that the first line doesn't make any reference to your App object, you've not really explained what your problem is here

Because I didn't know what the problem was myself. But actually the class App had some private variables that didn't belong there at all and I fixed it now. Gamestates work perfectly fine for now.

DekuTree64, actually making the resourceManager global sounds really nice. I'm gonna do it. I'm not using globals because I suffered pretty hard once when I had to do a lot of debugging because of sloppy use of globals, but it was a long long time ago(10 months ago, maybe :lol: ), and you know, the bible says that we should give others a second chance, I will give globals a second chance. :cool:

This topic is closed to new replies.

Advertisement