Change class instance variable to class variable in Gameloop
Gameloop.update can get delta time