-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCombatArea.h
More file actions
34 lines (31 loc) · 859 Bytes
/
CombatArea.h
File metadata and controls
34 lines (31 loc) · 859 Bytes
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
#pragma once
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <map>
#include <filesystem>
#include <string_view>
#include <vector>
#include <source_location>
#include <windows.h>
class CombatArea
{
std::string name, layer;
int team, vehicles;
bool inverted;
std::string* areaPoints;
int numberOfAreaPoints;
public:
CombatArea(std::string n = "CombatArea", std::string l = "1",
std::string* aap = {}, int t = 0, int v = 4,
bool i = 0, int noap = 0);
~CombatArea();
int SetName(std::string a); std::string GetName();
int AddAreaPoint(std::string a); int GetNumberOfAreaPoints();
int SetTeam(int a); int GetTeam();
int SetVehicles(int a); int GetVehicles();
int SetLayer(std::string a); std::string GetLayer();
int SetInverted(bool a); bool GetInverted();
void Print();
};