Moved enemy wave code into separate method