Esempio n. 1
0
        public virtual bool KeyReleased(Keys key, GameTime gameTime)
        {
            bool res = UIWindowManager.KeyReleased(key, gameTime);

            if (res == false)
            {
                // Event was not handled by UI
                res = CurrentController?.KeyReleased(key) ?? false;
                if (res == false)
                {
                    CurrentCamera?.KeyReleased(key);
                }
            }
            return(res);
        }