Skip to main content

RVOBlockedValue

A class in Root.Township, Alta.Intelligence.

Scoring rule on whether the creature's walker is blocked by local avoidance. Made by CreateTargetOperation.RVOBlocked.

Constructors​

MemberWhat it is
RVOBlockedValue(float unblocked, float blocked)Creates a RVOBlockedValue from unblocked and blocked.

Fields​

2 private and internal fields
MemberWhat it is
private float blockedValue when blocked.
private float unblockedValue when not blocked, or when the creature has no walker.

Methods​

MemberWhat it is
override float Evaluate(Agent agent, ITarget target)Returns blocked if the creature has a walker and it's blocked, otherwise unblocked.