Ejemplo n.º 1
0
    public void SetNode(TowerNode node)
    {
        if (currentNode == node)
        {
            DeselectNode();
            return;
        }
        currentNode    = node;
        turretBuilding = null;

        towerUI.SetTarget(node);
    }
Ejemplo n.º 2
0
    //public bool HasGold { get { return PlayerStatus.iGold >= turretBuilding.iCost; } }

    public void SetTurret(TurretBuildSelect turretBuildSelection)
    {
        turretBuilding = turretBuildSelection;
        DeselectNode();
    }