OOP A3 Board Games 35
a Board Game Project Made by Students at Cairo FCAI
Loading...
Searching...
No Matches
Numerical_Player.h
Go to the documentation of this file.
1#pragma once
2#include "BoardGame_Classes.h"
3
4class Numerical_Player : public Player<int> {
5public:
6 bool isOdd;
7 Numerical_Player(string n, bool odd, PlayerType t)
8 : Player<int>(n, 0, t), isOdd(odd) {}
9};
10
PlayerType
Represents the type of player in the game.
Definition BoardGame_Classes.h:24
bool isOdd
Definition Numerical_Player.h:6
Numerical_Player(string n, bool odd, PlayerType t)
Definition Numerical_Player.h:7
Player(string n, int s, PlayerType t)
Definition BoardGame_Classes.h:137