enemyDirection beta
Function of @v12-engine/engine/ai
ts
export declare function enemyDirection(ai: Brain, from: Vec2): Vec2 | undefined;Which way the enemy is from a place, as a unit vector: towards the nearest of their bases it knows of, else the nearest base the seat was told of (AiOptions.enemyBases), else towards the strongest enemy reaching its own (threat.hot). Nothing where it has no idea