Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void addBubble() {
- //adds the new ball to the array
- balls = (ball[])expand(balls, balls.length+1);
- //iniciates the new ball
- balls[balls.length-1]=new ball();
- // turns off the trigger
- addBall=false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement