#include "../graphics/Font.h"
#include "../graphics/Frame.h"
#include "../graphics/Texture.h"
+#include "../math/Vector.h"
using app::Input;
using common::Capsule;
void CapsuleMenu::OnEnterState(SDL_Surface *) {
-
+ menu.StartAnimation(Ctrl());
}
void CapsuleMenu::OnExitState(SDL_Surface *) {
}
}
-void CapsuleMenu::UpdateWorld(float deltaT) {
+void CapsuleMenu::UpdateWorld(Uint32 deltaT) {
}
}
void CapsuleMenu::RenderBackground(SDL_Surface *screen) const {
- Res().capsulebg->Render(screen, Vector<int>(), Vector<int>(screen->w, screen->h));
+ Res().capsulebg->Draw(screen, Vector<int>(), Vector<int>(screen->w, screen->h));
}
void CapsuleMenu::RenderCapsule(SDL_Surface *screen, const Vector<int> &offset) const {