Classes sleeping?

Hi, in my game engine i have:

1
2
3
4
5
6
7
else
      {
        // Make sure the game engine isn't sleeping
        if (!GameEngine::GetEngine()->GetSleep())
        {
        }


Here i am checking if the game engine (game engine class) is sleeping.

1. What do we mean when we say "sleeping"?
2. What causes a class to be "sleeping"?

As you can tell i dont know what my book means when it wants to check if the game engine isn't sleeping.

Thanks
Classes don't sleep per se - but games can be 'paused' - I assume that is what they mean here.
Thats right, that is what i mean. When you say paused, do you mean actually paused, like when you press ESC in a pc game to bring up the menu, that type of pause?
? :)
Tp... that is YOUR code. Don't go ask around asking others what your own programs are doing. Terminology may vary, the only one who can tell for sure is the author of the class.
If its meant "pausing",it may be to pause "updating display","doing calculations","stopping some timers" etc.

Topic archived. No new replies allowed.