Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //limit = opportunityX.length;
- for(i = 0;i<limit;i+=1){
- oX = opportunityX[i];
- oX2 = opportunityX+opportunityW[i];
- if ( (oX<laserX && oX2>laserX+laserW) || (oX>laserX && oX2<laserX+laserW) || (oX<laserX+laserW && oX2>laserX+laserW) ){
- opportunityY[i] = laserY - opportunityY[i];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement