FreeShop.hpp 712 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef FREESHOP_FREESHOP_HPP
  2. #define FREESHOP_FREESHOP_HPP
  3. #include <TweenEngine/TweenManager.h>
  4. #include <cpp3ds/Graphics.hpp>
  5. #include <cpp3ds/Network.hpp>
  6. #include "States/StateStack.hpp"
  7. namespace FreeShop {
  8. extern cpp3ds::Uint64 g_requestJump;
  9. extern bool g_requestShutdown;
  10. class FreeShop: public cpp3ds::Game {
  11. public:
  12. FreeShop();
  13. ~FreeShop();
  14. void update(float delta);
  15. void processEvent(cpp3ds::Event& event);
  16. void renderTopScreen(cpp3ds::Window& window);
  17. void renderBottomScreen(cpp3ds::Window& window);
  18. private:
  19. StateStack *m_stateStack;
  20. cpp3ds::Text textFPS;
  21. // Shared State context variables
  22. std::vector<char*> m_data;
  23. cpp3ds::String m_text;
  24. };
  25. }
  26. #endif // FREESHOP_FREESHOP_HPP