This is a call I have to a function in a class. Where player is an instance of that class and bet_or_pass() is a public function in that class.
So how would I set a variable in that function to the instance that called the function. For example, I want to set a global variable to be the instance of the class(player) that called the function. So, I guess im asking how do you make a self reference in a class function when you call the function like I have shown.Code:players.bet_or_pass();