home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / developer_install / ReplicaNetFreewareV5_4.exe / data1.cab / Program_Executable_Files / Example4 / GameDatabase.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-30  |  758 b   |  33 lines

  1. /* START_LICENSE_HEADER
  2.  
  3. Copyright (C) 2000 Martin Piper, original design and program code
  4. Copyright (C) 2001-2005 Replica Software
  5.  
  6. This program file is copyright (C) Replica Software and can only be used under license.
  7. For more information visit: http://www.replicanet.com/
  8. Or email: info@replicanet.com
  9.  
  10. END_LICENSE_HEADER */
  11. #ifndef _GAMEDATABASE_H_
  12. #define _GAMEDATABASE_H_
  13.  
  14. #include <vector>
  15.  
  16. // These classes are accessed via their pointers
  17. class GameObject;
  18.  
  19. /**
  20.  * A collection of variables used by the example application
  21.  */
  22. class GameDatabase
  23. {
  24. public:
  25.     static std::vector<GameObject *> mGameObjects;
  26.     static float mGameFrameTick;
  27.  
  28. private:
  29.     GameDatabase(){};            // Not intended for allocation, ever. ;)
  30. };
  31.  
  32. #endif
  33.