public override void Dispose()
 {
     game.Window.Keyboard.KeyDown -= KeyDown;
     game.Window.Keyboard.KeyUp   -= KeyUp;
     game.Window.Mouse.Move       -= MouseMove;
     game.Window.Mouse.ButtonDown -= MouseButtonDown;
     view.Dispose();
 }
Exemple #2
0
 public override void Dispose()
 {
     base.Dispose();
     view.Dispose();
 }