예제 #1
0
        private bool isButtonDown(MouseButton key)
        {
            if (buttons.ContainsKey(key))
            {
                return(buttons[key]);
            }

            return(false);
        }
예제 #2
0
        private bool isKeyDown(Keys key)
        {
            if (keydictionary.ContainsKey(key))
            {
                return(keydictionary[key]);
            }

            return(false);
        }