Enemy.interact#

Enemy.interact(agent: Self) None#

Interact with agent.

Concrete interaction depends on grid object type. The default interaction has no effect.

Parameters:

agent (Agent) – Agent object performing the interaction.