Logically, there would be a singleton pattern here, but that doesn't seem to be the case. Instead, each method in the class takes a reference to the (presumably single) object of that class. Why don't they just either use this or directly access member variables?
What is affected by this?
Simulator
How do we replicate the issue/how would it work?
Expected behavior (i.e. solution or outline of what it would look like)
What kind of issue is this?
Logically, there would be a singleton pattern here, but that doesn't seem to be the case. Instead, each method in the class takes a reference to the (presumably single) object of that class. Why don't they just either use
this
or directly access member variables?What is affected by this?
Simulator
How do we replicate the issue/how would it work?
Expected behavior (i.e. solution or outline of what it would look like)
Other Comments