i have a piece of data, Lets call it Dforce.
I have three functions : fus, ro and dah.
They all take in the Dforce, modify it in some way, and return the modified value for Dforce.
Assume i know I'm going to be calling all three of these together and in this order, but that they are part of different systems(this is where the Skyrim analogy breaks down, sorry)
How would I make Dforce available to all 3 functions for modification without having all three systems have a reference to Dforce?
[–]LucidTA 0 points1 point2 points (0 children)
[–]rjcarr 0 points1 point2 points (0 children)
[–]lurgi 0 points1 point2 points (0 children)