using System.Collections.Generic; namespace Ariadne.UnitTests { public static partial class Campaign { public partial class Outpost : Arc { [Scratch] public readonly List Log = new List(); private void Scout(ArcTests.Gates gates) { int waited = 0; look: while (!gates.Open.Contains("clear")) { waited++; Yield(); } Log.Add("scouted after " + waited); } protected override void Run(ArcTests.Gates gates) { Scout(gates); Log.Add("done"); } } } }