Game-Design / Sprint3_actual / Code Reviews and Reflection / Sprint 5 / Shay FAbrizio Maintainability.txt
Shay FAbrizio Maintainability.txt
Raw
Sprint 5 Code Maintainability Review
Reviewer: Shay Fabrizio
Date: 12/6/21
Reviewed File: Moldorm.cs / MultiNodeHandler.cs
File Author: Jackson Chapman
Time reviewed: 15 minutes

While this file is in working condition, it is not very readable or maintainable. Admittedly, I will give Bryce the benefit
of the doubt, as this enemy uses multiple nodes via a linked list, something I couldn't implement with such ease.
In the main constructor, it first creates each individual segment of the body and adds them one-by-one to the end
of the enemy body. It then relies heavily on the MultiNodeHandler.cs file, which is actually quite maintainable!

MultiNodeHandler.cs is quite maintainable, as it is a generic file that allows for the implementation of any multi-node based enemy or NPC.
Based on a simple list of rectangles and not ISprites, any collisions detected are handled entirely by the collision handler and not this file!
This way, it maintains a single job of linked list creation and nothing more.