blob: 42b99c62e1f9fc0dc7d086b8b88168f0494910b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using Microsoft.Xna.Framework.Input;
namespace V3.Input
{
/// <summary>
/// An event that is triggered if a key is pressed or released on the
/// keyboard.
/// </summary>
public interface IKeyEvent
{
/// <summary>
/// The key that was pressed or released.
/// </summary>
Keys Key { get; }
/// <summary>
/// The type of the event (key pressed or released?).
/// </summary>
KeyState KeyState { get; }
}
}
|