Changed property to use gameloop class