Ejemplo n.º 1
0
        //Hantering av anv-interaktion via InputHandler
        #region InputHantering

        internal bool DidPressKey(char a_key)
        {
            return(m_inputHandler.IsKeyDown(a_key));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Checks wether a given key was pressed
 /// </summary>
 /// <param name="key">Keyboard key</param>
 /// <returns>True or false</returns>
 internal bool DidPressKey(InputHandler.Input input)
 {
     return(_inputHandler.IsKeyDown(input));
 }