Example #1
0
 private void GiveResources()
 {
     if (resourceTeam != null)
     {
         resourceTeam.Add(creditsToGive, oilToGive, team.TeamName);
     }
 }
Example #2
0
        /// <summary>
        /// Stops rendering and returns cost.
        /// </summary>
        private void BuildingCancel()
        {
            var stats = selectedHologram.BuildingCreate.BuildingStats;

            ResourceTeam.Add(stats.costMoney, stats.costOil, team.TeamName);

            BuildingStop();
        }