Add and get method added to gameLoop

This saves some lines of code
Fixes #591