Targeting

Targeting

Targeting — describes how an agent chooses a movement or attack direction. Mirrors the Java Targeting parameter object / builder pattern.

Builder methods set up the targeting; read properties expose the result. The naming asymmetry (attackPlayer() method vs attacksPlayer property) avoids a conflict between the builder method and its backing field.