Game-Design / Sprint3_actual / Code Reviews and Reflection / Sprint 4 / ShayCodeReviewMaintainabilitySprint4.txt
ShayCodeReviewMaintainabilitySprint4.txt
Raw
File: SoundEngine.cs
Author: Aidan Pukansky
Time Spent: 10 Min

Now THIS is highly maintainable code! This class consists
of a number of instance variables (either songs or soundeffects)
that are all loaded by the contentmanager in the LoadSounds
function. Then, the class is nothing more than single-line
functions that play soundeffects that are called in other classes
when specific events occur. Adding a new sound or song is as
simple as adding a new member and an identical method for playing.
Fantastic job!