예제 #1
0
        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));
        }
예제 #2
0
        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));
        }