public static void Add(MoneyComponent C)
        {
            if (Components.Contains(C))
            {
                return;
            }

            Components.Add(C);
        }
 public static void Remove(MoneyComponent C)
 {
     Components.Remove(C);
 }
Exemple #3
0
 public StockBatiment()
 {
     MoneyComponent = new MoneyComponent();
     Stock          = new Stock();
 }
Exemple #4
0
 // Use this for initialization
 void Start()
 {
     _pickupState    = PickupState.Empty;
     _moneyComponent = Money.GetComponent <MoneyComponent>();
 }