Example #1
0
    protected void dropDisk()
    {
        var column = (GameUtil.mousePosition().x + 30) / 10;

        if (!RackUtil.isColumnFull(column))
        {
            rack.hideSelector();
            var pos = rack.dropDisk(column);
            onDiskDown(pos);
            GameUtil.onTurn = false;
            NetworkManager.postDropDisk(column, true);
        }
    }
Example #2
0
    protected void dropDisk()
    {
        var column = (GameUtil.mousePosition().x + 30) / 10;

        if (!RackUtil.isColumnFull(column))
        {
            rack.hideSelector();
            var pos = rack.dropDisk(column);
            onDiskDown(pos);
        }
    }