-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathland.cpp
More file actions
18 lines (16 loc) · 861 Bytes
/
Copy pathland.cpp
File metadata and controls
18 lines (16 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "land.h"
Land::Land()
{
}
int Land::Get_level() { return level; }
void Land::Set_level(int _level) { level = _level; }
void Land::Set_total_area(int _total_area) { total_area = _total_area; }
int Land::Get_total_area() { return total_area; }
int Land::Get_cultivated_area() { return cultivated_area; }
void Land::Set_cultivated_area(int _cultivated_area) { cultivated_area = _cultivated_area; }
int Land::Get_cultivation_status() { return cultivation_status; }
void Land::Set_cultivation_status(int _cultivation_status) { cultivation_status = _cultivation_status; }
void Land::Set_ripening_timer(int _ripening_timer) { ripening_timer = _ripening_timer; }
int Land::Get_ripening_timer() { return ripening_timer; }
void Land::Set_upgrade_timer(int _upgrade_timer) {upgrade_timer = _upgrade_timer; }
int Land::Get_upgrade_timer(){return upgrade_timer;}