csharp
public sealed class ObjectiveStateOne objective's live state.
Remarks
⚠ Progress is a signed number towards one team, and taking a point back has to pass through neutral. Two separate per-team meters would let a point flip the instant the last defender dies, because the attackers' meter had been filling the whole time they were being held off. One meter that has to be pushed down to zero and then up again is what makes a contested point take time to lose as well as to gain.
Fields and properties (7)
public PvpObjective ObjectiveWhat it is.
public int OwnerWhich team holds it, or −1.
public int CapturingWhich team the meter is filling for, or −1 when it is empty.
public float ProgressHow full the meter is, from zero to one.
public bool IsContestedWhether more than one team is on it.
public float SinceTickHow long since it last scored.
public int[] PresentHow many of each team are on it. Set by the caller each tick.
Used by (2)
- PvpMatchVixen.Gameplay.Pvp
- PvpMatchTestsVixen.Gameplay.Pvp.Tests