-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.h
40 lines (39 loc) · 951 Bytes
/
domain.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
#pragma once
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
class Tower
{
private:
std::string auraLevel;
std::string parts;
std::string size;
std::string location;
std::string vision;
std::string printable;
friend std::ostream& operator<<(std::ostream&, const Tower&);
friend std::istream& operator>>(std::istream&, Tower&);
public:
Tower()
{
auraLevel = "";
parts = "";
size = "";
location = "";
vision = "";
printable = "";
}
Tower(const std::vector<std::string>& params);
Tower(const Tower&);
virtual Tower& operator=(const Tower&);
virtual std::string get_aura_level() const;
virtual std::string get_parts() const;
virtual std::string get_size() const;
virtual std::string get_location() const;
virtual std::string get_vision() const;
virtual std::string print() const;
virtual bool operator!=(const Tower&) const;
virtual bool operator==(const Tower&) const;
virtual ~Tower();
};