Commit c833734a authored by Maxime's avatar Maxime
Browse files

fix naming convention

parent dfd2e326
......@@ -8,7 +8,7 @@ namespace ZZZZZZ.Inputs
public KeyboardInput()
{
IsConnected = true;
Application.Current.Input.KeyDown += Input_KeyboardBegin;
Application.Current.Input.KeyDown += Input_KeyDown;
Application.Current.Input.KeyUp += Input_KeyUp;
}
......@@ -18,7 +18,7 @@ namespace ZZZZZZ.Inputs
Movement = Movement.None;
}
private void Input_KeyboardBegin(Urho.KeyDownEventArgs obj)
private void Input_KeyDown(KeyDownEventArgs obj)
{
if (obj.Key == Key.Right || obj.Key == Key.Down) Movement = Movement.Right;
else if (obj.Key == Key.Up || obj.Key == Key.Left) Movement = Movement.Left;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment