-
Notifications
You must be signed in to change notification settings - Fork 0
/
team.h
39 lines (32 loc) · 863 Bytes
/
team.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
#ifndef TEAM_H
#define TEAM_H
#include <iostream>
#include <string>
#include "roster.h"
#include <vector>
#include "nodedata.h"
using namespace std;
class Team{
friend class Draft;
private:
string name; //name of team
int position; //drafting position
bool user;
Roster roster;
public:
Team();
Team(string n, int p, bool a);
Team(const Team &obj);
~Team() {};
void setUser(bool);
bool getUser();
void setPosition(int);
int getPosition();
void setName(string);
string getName();
const Team &operator=(const Team&rhs);
bool operator==(const Team &) const;
bool operator!=(const Team &) const;
void displayBasics();
};
#endif