void BigPotUI::drawUI(uint8_t alpha, int time, int totoalTime, int volume) { this->_alpha = alpha; if (alpha == 0) return; //_win_w = engine_->getWindowsWidth(); //_win_h = engine_->getWindowsHeight(); engine_->getWindowSize(_win_w, _win_h); this->_time = time; this->_totoalTime = totoalTime; this->_volume = volume; drawBall(); drawText(convertTimeToString(time) + " / " + convertTimeToString(totoalTime)); }
int Viatura::info() { cout << "\tMatricula: " << matricula << endl; cout << "\tAno de fabrico: " << anoFabrico << endl; cout << "\tMarca: " << marca << endl; cout << "\tTipo: " << getTipoNumaString() << endl; cout << "\tData ultima inspecao: " << getStringComDataUltimaInspecao() << endl; cout << "\tPeriodicidade: " << getPeriodicidade() << endl; cout << "\tData proxima inspecao: " << convertTimeToString(getDataProximaInspecao()) << endl; return 6; }