浏览文件
IInputServicer.cs
21 行 · 475 B历史下载| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.Linq; |
| 4 | using System.Text; |
| 5 | using System.Threading.Tasks; |
| 6 | |
| 7 | namespace UI.Servicers |
| 8 | { |
| 9 | public interface IInputServicer |
| 10 | { |
| 11 | void Start(); |
| 12 | /// <summary> |
| 13 | /// 当键盘按下时发生 |
| 14 | /// </summary> |
| 15 | event InputEventHandler OnKeyDownInput; |
| 16 | /// <summary> |
| 17 | /// 当键盘抬起时发生 |
| 18 | /// </summary> |
| 19 | event InputEventHandler OnKeyUpInput; |
| 20 | } |
| 21 | } |

