-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fly.h
32 lines (26 loc) · 813 Bytes
/
Fly.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Fly.h: interface for the CFly class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FLY_H__FD312323_96D6_11D3_8919_44455354616F__INCLUDED_)
#define AFX_FLY_H__FD312323_96D6_11D3_8919_44455354616F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "insect.h"
class CFly : public CInsect
{
// Attributes
private:
double m_Age; // In Degree-Days
double m_Quantity;
// Operations
public:
CFly();
virtual ~CFly();
double GetAge() {return m_Age;}
void SetAge(double theAge) {m_Age = theAge;}
double GetQuantity() {return m_Quantity;}
void SetQuantity(double theQuantity);
virtual void Serialize(CArchive &ar);
};
#endif // !defined(AFX_FLY_H__FD312323_96D6_11D3_8919_44455354616F__INCLUDED_)