-/*
- * InventoryMenu.cpp
- *
- * Created on: Nov 4, 2012
- * Author: holy
- */
-
#include "InventoryMenu.h"
#include "PartyMenu.h"
#include "Resources.h"
+#include "../app/Application.h"
#include "../app/Input.h"
#include "../common/GameConfig.h"
#include "../common/GameState.h"
#include "../common/Item.h"
#include "../graphics/Font.h"
#include "../graphics/Frame.h"
+#include "../math/Vector.h"
using app::Input;
using common::Inventory;
using common::Item;
-using geometry::Vector;
+using math::Vector;
using graphics::Font;
using graphics::Frame;
using std::swap;
void InventoryMenu::OnEnterState(SDL_Surface *) {
menu.SetSelected();
+ menu.StartAnimation(Ctrl());
LoadInventory();
+ itemMenu.StartAnimation(Ctrl());
}
void InventoryMenu::LoadInventory() {
}
}
-void InventoryMenu::UpdateWorld(float deltaT) {
+void InventoryMenu::UpdateWorld(Uint32 deltaT) {
}