Advertisement
Glocke

Engine.hpp

Jan 7th, 2013
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #ifndef ENGINE_HPP
  2. #define ENGINE_HPP
  3.  
  4. #include <map>
  5.  
  6. class User;
  7.  
  8. class Engine {
  9.     protected:
  10.         int limit;
  11.         User* user;
  12.     public:
  13.         Engine(const std::string name, int limit);
  14.         ~Engine();
  15.         void run();
  16. };
  17.  
  18. class User {
  19.     protected:
  20.         std::string name;
  21.         int counter;
  22.     public:
  23.         std::map<int, std::string> foo;
  24.  
  25.         User(const std::string name);
  26.         void inc();
  27.         bool finished(int limit);
  28. };
  29.  
  30. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement