/*
 * A Cat, which is a feline animal with a name and number of lives remaining.
 * When a cat has a brush with badLuck, it loses a life.
 */
#ifndef CAT_HPP
#define CAT_HPP

#include <string>
 
class Cat {
  std::string* name;  //would be better as a string, not a string*
  int lives;
  
public:
  Cat(const std::string name, int lives = 9);
  ~Cat(); //destructor
  Cat(const Cat& cat);  //copy constructor
  Cat& operator=(const Cat& cat);  //assignment operator  
  
  void badLuck();
  int getLives(); 
  std::string getName();
};

#endif