private void ForceCreatures() { for (int i = 0; i < slipList.Size(); i++) { BlockMove bm = slipList.Get(i); if (bm.Block.Creature || bm.Block.IsBlock()) { ForceMove(bm.Block, bm.Move); } } }
public virtual void AddToSlipList(Block b, Moves m) { if (b.Chip) { chipForced = new BlockMove(b, m); } else { slipList.Put(b, m); } }
public virtual bool ForceChip() { if (chipForced != null) { BlockMove cm = chipForced.Clone(); chipForced = null; ForceMove(cm.Block, cm.Move); level.Chip.Forced = true; return(true); } return(false); }
public virtual void ClearStuff() { tickCount = 0; chipForced = null; chip = null; dead = false; Buttons.Clear(); Creatures.Clear(); Teleports.Clear(); slipList.Clear(); inventory.Clear(); movingBlocks.Clear(); IsChipOnHintField = false; secondsTimer.Change(Timeout.Infinite, Timeout.Infinite); }