#include <difficulty_settings.h>
Public Member Functions | |
| DifficultySettings () | |
| Default constructor. | |
| ~DifficultySettings () | |
| Destructor. | |
Public Attributes | |
| unsigned | numOfDifferentBubbles |
| Number of different bubble types (color, ...) in the game. | |
| unsigned | numOfInitiallyFilledPlates |
| Number of initially filled plates with bubbles. | |
| float | probCellContainBubble |
| float | wallSpeed |
| Rear wall speed. | |
All attributes correspond to options that a user choose when starting a new game.
Uses "crate" design pattern.
| DifficultySettings::DifficultySettings | ( | ) |
Default constructor.
| DifficultySettings::~DifficultySettings | ( | ) |
Destructor.
Number of different bubble types (color, ...) in the game.
Number of initially filled plates with bubbles.
Probability that (at the beginning) a single cell will contain a bubble [0.0 - 1.0].
Rear wall speed.
1.5.6