libkdegames/kggzmod
statistics.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KGGZMOD_STATISTICS_H
00022 #define KGGZMOD_STATISTICS_H
00023
00024 #include "kggzmod_export.h"
00025
00026 namespace KGGZMod
00027 {
00028
00029 class StatisticsPrivate;
00030
00049 class KGGZMOD_EXPORT Statistics
00050 {
00051 friend class ModulePrivate;
00052
00053 public:
00054 ~Statistics();
00055
00063 int wins() const;
00064
00072 int losses() const;
00073
00083 int ties() const;
00084
00094 int forfeits() const;
00095
00106 int rating() const;
00107
00118 int ranking() const;
00119
00129 int highscore() const;
00130
00136 bool hasRecord() const;
00137
00143 bool hasRating() const;
00144
00150 bool hasRanking() const;
00151
00157 bool hasHighscore() const;
00158
00159 private:
00160 Statistics();
00161 StatisticsPrivate *d;
00162 void init(StatisticsPrivate *x);
00163 };
00164
00165 }
00166
00167 #endif
00168