data: rewrote TicTacToe to work without std libs and split to cpp

This commit is contained in:
Eberhard Graether
2015-09-11 13:00:43 +02:00
parent eaa3fab4ec
commit 0fc80d2a52
19 changed files with 732 additions and 211 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "player.h"
Player::Player( Field::Token token, const char* name )
: token_( token )
, name_( name ) {
}
Player::~Player() {
}
const Field::Token& Player::getToken() const
{
return token_;
}
const char* Player::getName() const
{
return name_;
}