-
Notifications
You must be signed in to change notification settings - Fork 0
/
Aviculture_back.h
64 lines (58 loc) · 1.46 KB
/
Aviculture_back.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#pragma once
#include <iostream>
#include <fstream>
//using namespace std;
class Aviculture_back
{
int current;
int capacity;
int level;
int start_day_of_upgrading;
int start_day_of_produce;
int shenaseP;
bool isfed;
bool havecrop;
bool upgrading;
bool isbuildingmade;//
bool isbuildingmaking;//
int start_day_of_building;//
public:
Aviculture_back(int);
~Aviculture_back();
void setcurrent(int _current);
void setcapacity(int _capacity);
void setlevel(int _level);
void set_start_day_of_upgrading(int _start_day_of_upgrading);
void set_start_day_of_produce(int _start_day_of_produce);
void setshenaseP(int _shenaseP);
void setisfed(bool _isfed);
void sethavecrop(bool _havecrop);
void setupgrading(bool _upgrading);
void setisbuildingmade(bool _isbuildingmade);
void setisbuildingmaking(bool _isbuildingmaking);
void set_start_day_of_building(int _start_day_of_building);
int getcurrent();
int getcapacity();
int getlevel();
int get_start_day_of_upgrading();
int get_start_day_of_produce();
int getshenaseP();
bool getisfed();
bool gethavecrop();
bool getupgrading();
bool getisbuildingmade();
bool getisbuildingmaking();
int get_start_day_of_building();
int isfull();
int addchicken(int num);
int removechicken(int num);
void checkcrop(int);
void checkupdate(int);
void checkbuilding(int);
//int starting_upgrade();
//void upgrading();//zamani
//int feeding();
//void cropready();//zamani
//int removal();
void Update_file();//distructor
};