Since the functions are members of a class, they need to be called on an instance of the class (i.e. member functions have a different type than free functions).
You would call it like this:
| MainGame mainGame;
...
(mainGame.*F)(nullptr);
|
or if the instance is a pointer,