Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void addBubble() {
  2.  
  3.   //adds the new ball to the array
  4.   balls = (ball[])expand(balls, balls.length+1);
  5.   //iniciates the new ball
  6.   balls[balls.length-1]=new ball();
  7.   // turns off the trigger
  8.   addBall=false;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement