changeTimeLimit method
Changes the time limit of the level. The provided change is in seconds. Provide a positive change to increase the time limit, a negative change to decrease the time limit.
Implementation
void changeTimeLimit(double change) {
// If the game is slowed the time is also slowed
if (this.slowDownActive) {
change = change * SlowDown.POWER;
}
this.timeLimit += change;
}