Example #1
0
    void HandleOnSelectTile(Tile tile)
    {
        if (_isGameOver || !_gameStateMachine.CheckCurrentState(GameStateMachine.State.Input))
        {
            return;
        }

        _swap = new Swap {
            SelectedTile = tile
        };
    }