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