Advertisement
vovkakorben

pussy_cat_hdr

Dec 26th, 2021
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. //---------------------------------------------------------------------------
  2.  
  3. #ifndef cat_classH
  4. #define cat_classH
  5. //---------------------------------------------------------------------------
  6.  
  7. class tcat {
  8.  private:
  9.   int hunger_mod, lucky_mod;
  10.  
  11.   int feed_timer, play_timer;
  12.   int max_age;
  13.  
  14.  public:
  15.   tcat(int m);
  16.   int hunger, lucky;
  17.   int age;
  18.   bool alive;
  19.   void feed();
  20.   void play();
  21.   void step(int n);
  22. };
  23. #endif
  24.  
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement