To expand on luarwo's answer, you can declare the function right in your class constructor. This could make your class a sort of function library, where the functions are accessible from any page where you create your class instance.
Sandbox\MyGameLib
Seesaw
The game Tempest is awesome