Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "Window.h"
- #include "EventManager.h"
- #include "StateManager.h"
- #include "SharedContext.h"
- class Game
- {
- public:
- Game();
- ~Game();
- //void HandleInput();
- void Update();
- void Render();
- Window* GetWindow();
- sf::Time GetElapsed();
- void RestartClock();
- void MoveSprite(EventDetails* details);
- void LateUpdate();
- private:
- void MoveMushroom();
- Window m_window;
- sf::Texture m_mushroom_texture;
- sf::Sprite m_mushroom;
- sf::Vector2i m_increment;
- sf::Clock m_clock;
- sf::Time m_elapsed;
- c_StateManager m_stateManager;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement