Code Review Author: Shay Fabrizio (fabrizio.22) Date: 10/4/21 Sprint 2 .cs file being reviewed: DisplayItemStateMachine.cs .cs file author: Jackson Chapman Time spent: 15 minutes Just like the other State Machine files present in the Sprint 2 solution, this file gets the job done. However, it's maintainability is minimal. It relies on a very large enumerated type for the current state. Then, using that state, it enters a very large switch structure based on the value of 'currentState.' With each press of either button, it iterates over the switch structure. As we add more and more items, this will be very time consuming for the project as a whole. While we do not need to implement it currently, my first instinct for an improvement is to use a map structure. Each key can have a unique value corresponding to an item, and every value can be a function pointer (which do exist to an extent in C#). That way, we can simply utilize that function pointer to create the displayed sprite, as all take the same parameters.