Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef SPIELER_H
- #define SPIELER_H
- #include<iostream>
- #include<string>
- #include<vector>
- #include "Mannschaft.h"
- #include "Spieler.h"
- using namespace std;
- enum class Position{Tor, Abwehr, Mitte, Sturm};
- class Spieler {
- private:
- string name;
- int transSum;
- Position position;
- int n{0};
- public:
- Spieler(string, int, Position = Position::Tor);
- string getName();
- bool operator==(const Spieler&) const;
- ostream& print(ostream& o) const;
- };
- ostream& operator<< (ostream& o, const Spieler& s);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement