GameLoop takes end decider as constructor parameter