Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef PLAYER_H
#define PLAYER_H
#include <string>
#include <iostream>
#include "Grid.h"
class Player
{
public:
Player();
Player(Grid *grid);
void playerTurn();
char getSymbol();
void chooseSymbol();
void setName();
std::string getName();
void setTargetGrid(Grid *grid);
private:
int getInput();
Grid *gridPtr;
std::string name = "";
char symbol = ' ';
};
#endif // PLAYER_H