void addFlakes ( int quantity ) { for ( int i = 0 ; i < quantity ; ++ i ) { flakes . add ( Flake . createFlake ( getWidth ( ) , droid ) ) ; } setNumFlakes ( numFlakes + quantity ) ; }
Add the specified number of droidflakes .