// This file is generated by tdeconfig_compiler from kjumpingcube.kcfg.
// All changes you do to this file will be lost.
#ifndef PREFS_H
#define PREFS_H

#include <tdeconfigskeleton.h>
#include <kdebug.h>

class Prefs : public TDEConfigSkeleton
{
  public:
    class EnumSkill
    {
      public:
      enum type { Beginner, Average, Expert, COUNT };
    };

    static Prefs *self();
    ~Prefs();


    /**
      Get Color of player 1.
    */
    static
    TQColor color1()
    {
      return self()->mColor1;
    }


    /**
      Get Color of player 2.
    */
    static
    TQColor color2()
    {
      return self()->mColor2;
    }


    /**
      Get Size of the playing field.
    */
    static
    int cubeDim()
    {
      return self()->mCubeDim;
    }


    /**
      Get Skill of the computer player.
    */
    static
    int skill()
    {
      return self()->mSkill;
    }


    /**
      Get Whether player 1 is played by the computer.
    */
    static
    bool computerPlayer1()
    {
      return self()->mComputerPlayer1;
    }


    /**
      Get Whether player 2 is played by the computer.
    */
    static
    bool computerPlayer2()
    {
      return self()->mComputerPlayer2;
    }

    static
    void writeConfig()
    {
      static_cast<TDEConfigSkeleton*>(self())->writeConfig();
    }
  protected:
    Prefs();
    static Prefs *mSelf;


    // Game
    TQColor mColor1;
    TQColor mColor2;
    int mCubeDim;
    int mSkill;
    bool mComputerPlayer1;
    bool mComputerPlayer2;

  private:
};

#endif

