list <shared_ptr<SFProjectile>> SFBoss::UpdateBoss(){
  list<shared_ptr<SFProjectile>> bullethell;
  phase_timer++;
  //get boss on screen
  if(GetPosition().getY() > w_height - sprite_height - 100) {
    GoSouth();
    phase_timer = 0;
  }

  switch(phase){
    case 1:
      bullethell.splice(bullethell.end(),Phase1());
      break;
    case 2:
      bullethell.splice(bullethell.end(),Phase2());
      break;
    case 3:
      bullethell.splice(bullethell.end(),Phase3());
      break;
  }
  return bullethell;
}
/*
 * read input from the given file and call Phase1 & Phase2
 */
int
main(int argc, char *argv[]) {

	FILE *fp = NULL;
	
	if (argv[1])
	{
		fp = fopen(argv[1], "r");
			
		read_unames_pwds_from_file(fp);
		
		fclose(fp);
		
		Phase1();
		
		Phase2();
	} else {
		printf("File name should be present\n");
		exit(0);
	}
	
	return 0;
}