Guest User

Untitled

a guest
Apr 26th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. public void processActors(ArrayList<Actor> actors)
  2. {
  3. if(actors.size() >= 1)
  4. {
  5. Location vortex = getLocation();
  6. ArrayList<Location> emptylocs = getEmptyAdjacentLocations(vortex);
  7. for( Location a : emptylocs)
  8. {
  9.  
  10. int col = a.getCol();
  11. GypsyCritter gyspy = new GypsyCritter();
  12. gypsy.putSelfInGrid(getGrid(), a);
  13. }
  14.  
  15. }
  16. }
Add Comment
Please, Sign In to add comment