fixed heisenbug
This commit is contained in:
parent
da406827b1
commit
255deaced0
@ -8,7 +8,9 @@
|
|||||||
#include <SFML/Window.hpp>
|
#include <SFML/Window.hpp>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
Input::Input(sf::Window *w): window(w)
|
Input::Input(sf::Window *w) :
|
||||||
|
window(w),
|
||||||
|
closeRequested(false)
|
||||||
{
|
{
|
||||||
heldkeys = std::vector<sf::Keyboard::Key>();
|
heldkeys = std::vector<sf::Keyboard::Key>();
|
||||||
action_file = std::queue<int>();
|
action_file = std::queue<int>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user