EchoesOfFate
A game for our COMP315 Project
 
Loading...
Searching...
No Matches
CutsceneState.h
Go to the documentation of this file.
1#pragma once
2#include "State.h"
3#include <sfeMovie/Movie.hpp>
4#include <iostream>
5#include <algorithm>
6#include "UserInterface.hpp"
7#include "StreamSelector.hpp"
8#include "MediaInfo.hpp"
9
10class CutsceneState : public State
11{
12public:
13 CutsceneState(sf::RenderWindow& window, std::string videoFile);
15
16 void update(sf::RenderWindow& window, StateManager& stateManager) override;
17 void render(sf::RenderWindow& window) override;
18
19private:
20 void my_pause();
21 void displayShortcuts();
22
23 std::string mediaFile;
24 sfe::Movie cutscene;
25 bool fullscreen;
27};
28
~CutsceneState()
Definition CutsceneState.cpp:24
CutsceneState(sf::RenderWindow &window, std::string videoFile)
Definition CutsceneState.cpp:4
void update(sf::RenderWindow &window, StateManager &stateManager) override
Used for handling input and game updates.
Definition CutsceneState.cpp:27
void render(sf::RenderWindow &window) override
Definition CutsceneState.cpp:108
Definition State.h:16
All the possible states included here to make switching easier.
Definition StateManager.h:14
Definition UserInterface.hpp:33