summaryrefslogtreecommitdiff
path: root/src/Model/Stats.cpp
blob: 8bada78f6210abcc53645648711c369ab107652f (plain)
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
#include "Stats.hpp"


Stats::Stats() :
	m_score(0),
	m_nbMove(0)
{

}

Stats::~Stats(){
}



void Stats::incScore(int value){
	m_score+=value;
}
void Stats::incnbMove(){
	m_nbMove++;
}


int Stats::getScore(){
	return m_score;
}
int Stats::getNbMove(){
	return m_nbMove;
}