Question: playingField -values: Arra Field wheels: Array List +Wheel() +spin(): St +Playing Field0 SlotMachine: Add a set Bonus method which creates an instance of Bonus Playing
playingField -values: Arra Field wheels: Array List +Wheel() +spin(): St +Playing Field0 SlotMachine: Add a set Bonus method which creates an instance of Bonus Playing Field and saves it in its playingField attribute. Add a set Regular method which creates an instance of Playing Field and saves it in its playingField attribute. Change the line in the SlotMachine constructor that ed createst the Playing Field object to just call the setRegular method. Bonus PlayingField added or revise this lab assignm onus inglielo playingField -values: Arra Field wheels: Array List +Wheel() +spin(): St +Playing Field0 SlotMachine: Add a set Bonus method which creates an instance of Bonus Playing Field and saves it in its playingField attribute. Add a set Regular method which creates an instance of Playing Field and saves it in its playingField attribute. Change the line in the SlotMachine constructor that ed createst the Playing Field object to just call the setRegular method. Bonus PlayingField added or revise this lab assignm onus inglielo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
