Ball.interact#

Ball.interact(agent: Agent) None#

Move ball one cell in direction of agent rotation. Only works if new location is in zone defined by Ball.zone_low, Ball.zone_high.

Parameters:

agent (Agent) – Agent object performing the interaction.