private void MakeAMove() { // Start with replacing blocks in the grid ReplaceBlocks(CurrentlySelectedSelector); // Update the cursor and inventory CurrentlySelectedSelector.SetHovered(false); inventories.HoveredInventory = null; cursor.HideCursor(BlockCursor.SoundType.Drop); // Scan for any formations StartCoroutine(scanner.AnimateScan(inventories)); }
public void ShuffleAll() { // Reset the cursor cursor.HideCursor(BlockCursor.SoundType.Shuffle); // Shuffle the inventory foreach (Inventory inventory in AllInventories) { inventory.Shuffle(); } // Forcefully proceed a step StartCoroutine(scanner.AnimateScan(this)); }