Revision 686659

Go back to digest for 15th July 2007

Features in Games

Nicolas Roffet committed changes in /trunk/KDE/kdegames:

I rewrote the class KGameDifficulty to provide a better API. The class is now a singleton. I wrote also the APIDOX.

I tried to consider the good feedback of Dmitry, thanks. Thanks Pino for your help also. Don't hesitate to continue to improve the class. :)

As the API changed, I had to update KBlackBox.I removed also by the way 2 difficulty levels in KBlackBox, because I found there were too much levels.

File Changes

Modified 7 files
  • /trunk/KDE/kdegames
  •   /kblackbox/kbbgamedoc.cpp
  •   /kblackbox/kbbgamedoc.h
  •   /kblackbox/kbbmainwindow.cpp
  •   /kblackbox/kbbmainwindow.h
  •   /kblackbox/kblackbox.kcfg
  •   /libkdegames/kgamedifficulty.cpp
  •   /libkdegames/kgamedifficulty.h
7 files changed in total