
and click Step.
ArrayList<Actor> actors = getActors();is
return getGrid().getNeighbors(getLocation());
getNeighbors return Locations adjacent to the Critter's Location (where all the bugs are)
processActors(actors);
all bugs die
ArrayList<Location> moveLocs = getMoveLocations(); Location loc = selectMoveLocation(moveLocs); makeMove(loc);
Critter moves to any adjacent location. (they should all be empty)
But, when I click step, the bugs on the lower two thirds of the 3x3 square are dead, and the top 3 bugs move up... Why aren't the top 3 bugs eaten?

New Topic/Question
Reply



MultiQuote




|