public KeyStateContext(KeyboardHelper parent) { _keyStates = new IKeyState[] { new KeyStateUnshifted(parent), new KeyStateShifted(parent) }; _currentKeyState = _keyStates[0]; }
public KeyStateUnshifted(KeyboardHelper parent) { _parent = parent; }
public KeyStateContext(KeyboardHelper parent) { _keyStates = new IKeyState[] { new KeyStateUnshifted(parent), new KeyStateShifted(parent) }; _currentKeyState = _keyStates[0]; }
public KeyStateUnshifted(KeyboardHelper parent) { _parent = parent; }