public EnableChipStage(Battler[] battlers, ChipLibrary chiplibrary, int roundcount) { _Battlers = battlers; this._ChipLibrary = chiplibrary; this._RoundCount = roundcount; }
public CaptureEnergyStage(List<Capturer> capturers, ChipLibrary chiplibrary, int roundcount) { _Capturers = capturers; this._ChipLibrary = chiplibrary; this._RoundCount = roundcount; _Groups = new EnergyGroup[_Capturers.Count + 1]; }
private Queue<Chip> _Supplementary(int count) { Queue<Chip> chips = new Queue<Chip>(); for (int i = 0; i < count; ++i) { if (SourceChip.Count == 0) { RecycleChip.Shuffle(); SourceChip = RecycleChip; RecycleChip = new ChipLibrary(); } chips.Enqueue(SourceChip.Pop()); } return chips; }
internal void Initial(ChipLibrary chiplibrary , BattlerSide side) { Side = side; EnableChips = new Chip[EnableChipCount]; RecycleChip = new ChipLibrary(); StandbyChip = new Chip[5]; SourceChip = new ChipLibrary(); for (int i = 0; i < 10; ++i ) { SourceChip.Push(chiplibrary.Pop()); } SourceChip.Shuffle(); Licensing(); }
public KillingStage(Player[] players , ChipLibrary common_chips , int round_count) { _Players = players; _CommonChips = common_chips; _RoundCount = round_count; }
private ChipLibrary _GenerateCommonChipSet() { // 築巢 Chip chip1 = new Chip(); chip1.Name = "築巢"; chip1.Red = new int[] { 0, 0, 0 }; chip1.Yellow = new int[] { 1, 1, 2 }; chip1.Green = new int[] { 0, 0, 0 }; chip1.Power = new int[] { 0, 0, 0 }; chip1.Initiatives = new int[] { 4 }; chip1.Passives = new int[] { 2 }; // 下風突襲 Chip chip2 = new Chip(); chip2.Name = "下風突襲"; chip2.Red = new int[] { 1, 1, 1 }; chip2.Yellow = new int[] { 0, 0, 0 }; chip2.Green = new int[] { 0, 0, 1 }; chip2.Power = new int[] { 0, 0, 0 }; chip2.Initiatives = new int[] { 3 }; chip2.Passives = new int[] { 1 }; ChipLibrary cl = new ChipLibrary(); for (int i = 0; i < 500; ++i ) { cl.Push(chip2); cl.Push(chip1); } cl.Shuffle(); return cl; }
internal void Initial(int speed , ChipLibrary common) { _Speed = speed; _Common = common; }
public ReadyCaptureEnergyStage(Player[] players, ChipLibrary common_chips , int round_count) { _Players = new List<Player>(players); _ChipLibrary = common_chips; _RoundCount = round_count; }