Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You've been tasked with creating the class architecture for our new game, Extreme Gardening. In the game, the player will grow flowers and sell them
You've been tasked with creating the class architecture for our new game, "Extreme Gardening". In the game, the player will grow flowers and sell them to customer NPCs. Given the following descriptions, we need a class architecture that meets the following criteria and covers the core loop of purchasing seeds -> growing flowers -> selling flowers -> buying plots/seeds We need: -Daisies: Come in just yellow, are sold for a small profit - Roses: Come in red, yellow, or pink and can be sold for a medium profit - Venus Fly Trap: A rare, green, flower that can be sold for a large profit - Seeds: The player can buy these, and the player knows which seed will grow which flower before purchasing - Plots: Each plot can only grow one flower, the player can purchase more plots in the store - Shop: Where the player can buy seeds and sell their flowers Please provide your answer in this header as a set of abstract classes. (Ctrl)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started