Game-Design / Sprint3_actual / Code Reviews and Reflection / Sprint 3 / ShayCodeReviewMaintainability.txt
ShayCodeReviewMaintainability.txt
Raw
Sprint 3 Code Maintainability Review
Reviewer: Shay Fabrizio
Reviewed File: PlayerCollisionHandler.cs (Zach Jones)
Time reviewed: 15 minutes

Zach does a great job of elegantly handling collisions from the player end.
Utilizing an enumerated type in the ICollision interface called "side," every
time a collision detector successfully finds a collision, the block in question and
the "side" of the block are sent to the handler. If left, player is sent left exactly
the number of pixels Link is wide. The same occurs for right. Top and bottom work similarly
with height. If a collision with an enemy is detected, the player "takes damage," inflicting
a set knockback distance. These knockback distances and damage taken are fully malleable
and can be changed to fit specific enemies or world situations. In short, the simple change of a number
can drastically impact the effect of the handler, allowing for easy fine tuning of the file as the project
expands. Great job, Zach. The man did it again.