Contains changes from "gwen-dotnet" removing dependancies on Windows, which ultimately means certain features (e.g. file load/save dialogs) do not work. Those classes still exist, but the code has been commented out.
25 lines
550 B
C#
25 lines
550 B
C#
using System;
|
|
using Gwen.Control;
|
|
|
|
namespace Gwen.Input
|
|
{
|
|
/// <summary>
|
|
/// Keyboard state.
|
|
/// </summary>
|
|
public class KeyData
|
|
{
|
|
public readonly bool[] KeyState;
|
|
public readonly float [] NextRepeat;
|
|
public Base Target;
|
|
public bool LeftMouseDown;
|
|
public bool RightMouseDown;
|
|
|
|
public KeyData()
|
|
{
|
|
KeyState = new bool[(int)Key.Count];
|
|
NextRepeat = new float[(int)Key.Count];
|
|
// everything is initialized to 0 by default
|
|
}
|
|
}
|
|
}
|