Files
axyz/include/Engine/Input/EInputCommand.h
T
2016-01-25 11:56:40 +01:00

24 lines
422 B
C++

#ifndef Events_InputCommand_h__
#define Events_InputCommand_h__
#include "Core/EventBroker.h"
#include "Core/EntityWrapper.h"
namespace Events
{
/** Thrown when an input command is sent. */
struct InputCommand : Event
{
/** Numerical ID of the player. */
int PlayerID;
EntityWrapper Player;
/** The command that was sent. */
std::string Command;
/** The value of the command. */
float Value = 0;
};
}
#endif