Updated CSFML and SFML.Net to the new input classes

This commit is contained in:
Laurent Gomila 2011-07-05 23:04:03 +02:00
parent 566699f912
commit 15f6eca815
54 changed files with 1503 additions and 955 deletions

View file

@ -119,7 +119,7 @@ namespace window
static void OnKeyPressed(object sender, KeyEventArgs e)
{
Window window = (Window)sender;
if (e.Code == KeyCode.Escape)
if (e.Code == Keyboard.Key.Escape)
window.Close();
}