+void CapsuleFeedMenu::RenderGrowth(SDL_Surface *screen, const Vector<int> &offset) const {
+ Vector<int> cursor(offset);
+ parent->Res().capsuleGrowthLabel->Draw(screen, offset);
+ cursor.X() += parent->Res().capsuleGrowthLabel->Width();
+
+ for (int i = 0; i < GetCapsule().HungerFull(); ++i) {
+ parent->Res().capsuleGrowthBarFilled->Draw(screen, cursor);
+ cursor.X() += parent->Res().capsuleGrowthBarFilled->Width();
+ }
+
+ for (int i = 0; i < GetCapsule().HungerEmpty(); ++i) {
+ parent->Res().capsuleGrowthBar->Draw(screen, cursor);
+ cursor.X() += parent->Res().capsuleGrowthBar->Width();
+ }
+}
+