Example #1
0
        public void ProcessControls(GameTime gameTime)
        {
            _mouseState = Mouse.GetState();

            if (_mouseState.LeftButton == ButtonState.Pressed)
            {
                _partida.PegarPeca(_mouseState);
            }
            else if (_mouseState.LeftButton == ButtonState.Released)
            {
                _partida.SoltarPeca();
            }
        }