I changed sara-shield to allow the presence of multiple humans. But I don't know if that was the best way to change it, and there are still some problems to be solved:
First, it requires changes to functions, that are already in use, namely the constructor and humanMeasurement
Also, I am not sure yet, whats the best way to determine the amount of HumanReach's that we want to have. I guess the options are:
Explicitly add a variable to the constructor (e.g. int maxHumansInScene)
Add method to increase the amount of HumanReach's e.g. void AddNewHuman()
Implicitly add HumanReach, when the index of the measured human exceeds the current amount of HumansReach's
I think I would tend towards option 3, what`s your opinion?
I changed sara-shield to allow the presence of multiple humans. But I don't know if that was the best way to change it, and there are still some problems to be solved:
First, it requires changes to functions, that are already in use, namely the constructor and
humanMeasurement
Also, I am not sure yet, whats the best way to determine the amount of
HumanReach
's that we want to have. I guess the options are:int maxHumansInScene
)void AddNewHuman()
I think I would tend towards option 3, what`s your opinion?