Exemple #1
0
        protected override void OnEnd()
        {
            container.CancelConstruction();
            SelectionHandler.Clear();

            foreach (var cost in DataManager.GetConstructionCosts(buildingSymbol))
            {
                Inventory[cost.Key].Add(cost.Value);
            }

            base.OnEnd();
        }
Exemple #2
0
 protected override void OnEnd()
 {
     container.Demolish();
     SelectionHandler.Clear();
     base.OnEnd();
 }