Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void processActors(ArrayList<Actor> actors)
- {
- if(actors.size() >= 1)
- {
- Location vortex = getLocation();
- ArrayList<Location> emptylocs = getEmptyAdjacentLocations(vortex);
- for( Location a : emptylocs)
- {
- int col = a.getCol();
- GypsyCritter gyspy = new GypsyCritter();
- gypsy.putSelfInGrid(getGrid(), a);
- }
- }
- }
Add Comment
Please, Sign In to add comment