It seems that methods of classes always need to be passed the object i.e. the first parameter needs to be this, even if it is not used. The editor complains however if you pass it this and don't use it. Annoying.
Anyway my question is, why do you sometimes need to explicitly call a function/method with this in front of it and other times not.
is not recognised as a function