Advertisement
Maniek2341

Untitled

Feb 6th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public class DropUtils {
  2.  
  3. private static List<Drop> drops = new ArrayList<Drop>();
  4.  
  5. public static List<Drop> getDrops() {
  6. return drops;
  7. }
  8.  
  9. public static void addDrop(Drop d) {
  10. drops.add(d);
  11. }
  12.  
  13. public static void clearDrops() {
  14. drops.clear();
  15. }
  16.  
  17. public static void removeDrop() {
  18. drops.removeAll(drops);
  19. }
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement