#Question about static functions
5 messages · Page 1 of 1 (latest)
static functions are, by definition, independant from class instances
could you explain a bit more about what you're trying to do
if you are in 4.1, you could have a static variable that all instances add themselves to. the static function could then loop through that and call a function on all of them
yeah that is the best way to do it