Before we finish up this chapter, we need to add the elements that will handle damage response to our game. Otherwise, all the guns are meaningless. Here's a list of the things we'll add before we wrap up:
Damage impacting shield strength: This is one of the core things we need, to reduce shield strength when the cycle takes damage.
Shield and energy recharge: A cycle's shield and energy levels need to be recharged over time, so we'll add in a method to handle that for us.
Stability: To keep races tighter and more interesting, we'll add in a system that causes cycles to slow down when they get damaged. That way cycles at the back have a means to slow the cycles up front and catch up to them.
Emergency shut down: Because we only have four cycles on the track, it wouldn't be super wise to have a cycle explode or something when its shield drops to zero. We want to keep all the four cycles on the track for the entire race to make it more interesting. Instead, we'll create...