Hen - virtual int laidAnEgg() ; protected: bool...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#ifndef HEN_H #define HEN_H #include "Chicken.h" class Hen : public Chicken { public: Hen() ; Hen(std::string) ; virtual void goToSleep() ; virtual int feedConsumed() ;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: virtual int laidAnEgg() ; protected: bool checkedForAnEggToday ; int numConsecutiveEggs ; int typicalConsecutiveEggs ; } ; #endif...
View Full Document

This note was uploaded on 10/28/2010 for the course CSCI 1113 taught by Professor Staff during the Spring '08 term at Minnesota.

Ask a homework question - tutors are online