title: AI algorithm to "shoot" at a target in a 2d game
body: <p>in my 2d game I would like to create an intelligent bot who can "shoot" to the player. 
  Suppose I can pass to my bot:</p>
  
  <pre><code>actual xEnemy, yEnemy
  
  also enemy speed and angle direction
  </code></pre>
  
  <p>How can I calculate "where to shoot" considering that Bot must rotate its gun to the right direction?</p>
  
  <p>This is a really big problem for me, because.. I'm absolutely not good in math!
  Thanks in advance for your precious help!</p>