Difference between revisions of "2020 - Allow outlets to expand by increasing the max capacity"
(Created page with "=Find the MopdifyCompany method of the Simulation class= =Add a Console.WriteLine for option 4 'Rebuild Outlet'= =Add an else if to the second to last line of the method for...") |
(No difference)
|
Latest revision as of 09:53, 20 December 2019
Contents
- 1 Find the MopdifyCompany method of the Simulation class
- 2 Add a Console.WriteLine for option 4 'Rebuild Outlet'
- 3 Add an else if to the second to last line of the method for choice=="4"
- 4 In the Outlet class add a method called IncreaseMaxCap()
- 5 IncreaseMaxCap should increase the MaxCapcity by 25%
- 6 Now in the Company class Copy and Paste ExpandOutlet
- 7 Rename the new version RebuildOutlet
- 8 You essentially need 'Outlets[ID].IncreaseMaxCap()' and any confirmation messages