public IntArrayVariable IntArray(string name, params int[] values) { var variable = new IntArrayVariable(); CodeGenerator.Instance.BindStaticVariableToNewRepresentation(variable, name, values); return(variable); }
public HalCompletion(IntArrayVariable storage) { this.storage = storage; }
public IntArrayVariable IntArray(string name, params int[] values) { var variable=new IntArrayVariable(); CodeGenerator.Instance.BindStaticVariableToNewRepresentation(variable, name, values); return variable; }
public static bool IsPlayerActive(TrawnPlayer player, IntArrayVariable currentPlayers) { var i = (int)player; return(Array.IndexOf(currentPlayers.Value, i) >= 0); }