2021-05-24 13:18:44 -04:00
|
|
|
#ifndef INPUTTYPE_H
|
|
|
|
#define INPUTTYPE_H
|
|
|
|
|
|
|
|
#include <SFML/System/Clock.hpp>
|
2021-06-23 15:18:33 -04:00
|
|
|
#include <SFML/Window/Event.hpp>
|
2021-05-24 13:18:44 -04:00
|
|
|
|
|
|
|
using microsec = sf::Int64;
|
|
|
|
|
2021-06-23 15:18:33 -04:00
|
|
|
struct PlayerInput
|
2021-05-24 13:18:44 -04:00
|
|
|
{
|
2021-06-23 15:18:33 -04:00
|
|
|
microsec timestamp;
|
|
|
|
sf::Event event;
|
2021-05-24 13:18:44 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INPUTTYPE_H
|