Files
using.cash/Utility/BotCode/InternalPollRandomizer.cs
T

20 lines
569 B
C#

using Swarmops.Logic.Governance;
namespace Swarmops.Utility.BotCode
{
public class InternalPollRandomizer
{
// Randomizes the order of candidates on the open polls.
public static void Run()
{
// TODO: Foreach open poll...
MeetingElectionCandidates candidates = MeetingElectionCandidates.ForPoll(MeetingElection.Primaries2010);
foreach (MeetingElectionCandidate candidate in candidates)
{
candidate.RandomizeSortOrder();
}
}
}
}