private Leap CreateALeap(Leaper currentLeaper, HostRepository hostRepository, EventRepository eventRepository) { var createdLeap = new Leap(currentLeaper, hostRepository.GetRandomHost(), eventRepository.GetRandomEvent()); return(createdLeap); }
public void TakeALeap(Leaper currentLeaper, HostRepository hostRepository, EventRepository eventRepository) { var newLeap = CreateALeap(currentLeaper, hostRepository, eventRepository); _listOfLeaps.Add(newLeap); }