public void UpdatePos()    // create a new pos for the cannon and target
 {
     cannonBoundary.GenerateNewPos();
     targetBoundary.GenerateNewPos();
 }