예제 #1
0
파일: InputManager.cs 프로젝트: Molus/LSE
 internal InputManager()
 {
     this.currentKeyState = KeyboardState.Empty;
     this.previousKeyState = KeyboardState.Empty;
     this.currentMouseState = MouseState.Empty;
     this.previousMouseState = MouseState.Empty;
 }
예제 #2
0
파일: InputManager.cs 프로젝트: Molus/LSE
        internal void Update()
        {
            this.previousKeyState = this.currentKeyState;
            this.currentKeyState = new KeyboardState();

            this.previousMouseState = this.currentMouseState;
            this.currentMouseState = new MouseState();
        }