Beispiel #1
0
    private bool OnTurretOptionSelect(int index, string option, object context)
    {
        if ("Sell" == option)
        {
            TurretInstance t = (TurretInstance)context;
            Turrets.RemoveTurret(t);
            Coin += (t.TurretType.Cost / 2);
        }

        return(false);
    }