Files
escape-the-dawn/Escape-the-Dawn/Components/Input.h
T
2014-03-06 21:32:31 +01:00

19 lines
272 B
C++

#ifndef Input_h__
#define Input_h__
#include "Component.h"
#include <GLFW/glfw3.h>
namespace Components
{
struct Input : Component
{
int KeyState[GLFW_KEY_LAST];
float MouseState[2];
float dX, dY;
};
REGISTER_COMPONENT("Input", Input);
}
#endif // !Input_h__