The first milestone on my timeline is to produce a list of variables that create the core of the framework, and that can be customized by the end-user. These variables will require some explanation of their use, and as such will aid the production of the instruction manual for the final product.
Heart Rate
_heartRate:int;
_heartRateLimit:int;
_heartRate will be the current Heart Rate of the player during the simulation, as beats per minute. This variable will update according to any other that requires it or affects it.
_heartRateLimit will be the the limit at which the player reaches Tachycardia, or an increased heart rate that is outside of a normal threshold, as beats per minute. The player will be able to define a script that runs when this is reached, by default a message will be displayed. A typical use for this would be:
if (_heartRate >= _heartRateLimit)
{
// Run a script, or display the default message.
}
In layman's terms, the above translates to; If the Heart Rate is Greater Than or Equal To the Heart Rate Limit, run a script or display the default message.
I have decided that, after a little more research, Blood Pressure plays very little part in any of the features that I had previously planned. After a little more research, it would prove more useful for Respiration Rate to be included, rather than it's predecessor. Respiration Rate is directly linked to heart rate and as such is valuable when trying to reproduce the symptoms of the conditions in my extended features.
Respiration Rate
_respirationRate:int;
_respirationSpeed:int;
_respirationRate will be the current rate of respiration of the player, whereas the _respirationSpeed will relate to the speed at which a sound re-occurs. The average respiration rate of an adult is 12 - 20 times per minute at rest. A highlight of having this variable, aside from the fact that it's linked to the _heartRate is that you can add a sound that can play relating to the _respirationSpeed, ie; the sound of one breathing in and out. The end-user will have the option to define a sound, it's pitch and volume as well as the _respirationRate and _respirationSpeed.
No comments:
Post a Comment