Update stable version 24/05/2025 #2

Merged
rafa merged 29 commits from dev into main 2025-05-24 20:00:44 +02:00
Showing only changes of commit a8bebfc0fc - Show all commits

View File

@ -29,7 +29,15 @@ class CarSpotController {
this->occupied_spots++;
}
void decrement_occupied_spots () {
this->occupied_spots--;
}
bool is_full() {
return this->occupied_spots == this->total_spots;
}
bool is_empty() {
return this->occupied_spots == 0;
}
};