kblackbox
KBBTutorial Class Reference
#include <kbbtutorial.h>
Inheritance diagram for KBBTutorial:

Detailed Description
Tutorial widget.Definition at line 51 of file kbbtutorial.h.
Public Member Functions | |
| KBBTutorial (QWidget *parent) | |
| void | hideEvent (QHideEvent *) |
| bool | maySolve () |
| bool | mayShootRay (const int incomingPosition) |
| void | setGameWidget (KBBScalableGraphicWidget *gameWidget, KBBGraphicsItemTutorialMarker *marker) |
| void | setStep (const int step) |
| void | start () |
Static Public Attributes | |
| static int const | BALLS = 3 |
| static int const | COLUMNS = 6 |
| static int const | ROWS = 6 |
Constructor & Destructor Documentation
| KBBTutorial::KBBTutorial | ( | QWidget * | parent | ) | [explicit] |
Member Function Documentation
| void KBBTutorial::hideEvent | ( | QHideEvent * | ) |
Event: Leaving the tutorial.
Called by exiting the tutorial
Definition at line 119 of file kbbtutorial.cpp.
| bool KBBTutorial::maySolve | ( | ) |
May the player solve the running game?
The player may solve the game only at the end of the tutorial during the last step.
Definition at line 125 of file kbbtutorial.cpp.
| bool KBBTutorial::mayShootRay | ( | const int | incomingPosition | ) |
May the player shoot the ray?
The player may only shoot given rays during the tutorial (except during the last step).
Definition at line 131 of file kbbtutorial.cpp.
| void KBBTutorial::setGameWidget | ( | KBBScalableGraphicWidget * | gameWidget, | |
| KBBGraphicsItemTutorialMarker * | marker | |||
| ) |
| void KBBTutorial::setStep | ( | const int | step | ) |
| void KBBTutorial::start | ( | ) |
Start the tutorial Start or restart the tutorial at the 1st step.
Definition at line 251 of file kbbtutorial.cpp.
Member Data Documentation
int const KBBTutorial::BALLS = 3 [static] |
int const KBBTutorial::COLUMNS = 6 [static] |
int const KBBTutorial::ROWS = 6 [static] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference