void ObjectFactory::spawnSeaCreature(float xPos, float yPos,vector<Station*> *ships)
{
	int seaCreatureSpawnNum = rand() % 7;
	int rotation =  rand() % 360;
	switch (seaCreatureSpawnNum)
	{
	case 0:
	ships->push_back( new Whale(xPos, yPos, rotation));
	break;
	case 1:
	ships->push_back( new Hydra(xPos, yPos, rotation));
	break;
	case 2:
	ships->push_back( new Jellyfish(xPos, yPos, rotation));
	break;
	case 3:
	ships->push_back( new Octopus(xPos, yPos, rotation));
	break;
	case 4:
	ships->push_back( new Squid(xPos, yPos, rotation));
	break;
	case 5:
	ships->push_back( new Serpent(xPos, yPos, rotation));
	break;
	case 6:
	Turtle* myTurtle = new Turtle(xPos ,yPos,rotation);
	Helm* helm = new Helm(0, 10, 32, TextureManager::getManager()->helm,myTurtle);
	myTurtle->getHelms()->push_back(helm);
	ships->push_back(myTurtle);
	break;
	}
}
Station* ObjectFactory::seaCreatureSelect(float xPos, float yPos)
{
	int seaCreatureNum = rand() % 7;
	int rotation =  rand() % 360;
	if (seaCreatureNum == 0)
	{
		return new Whale(xPos, yPos, rotation);
	}
	else if (seaCreatureNum == 1)
	{
		return new Hydra(xPos, yPos, rotation);
	}
	else if (seaCreatureNum == 2)
	{
		return new Jellyfish(xPos, yPos, rotation);
	}
	else if (seaCreatureNum == 3)
	{
		return new Octopus(xPos, yPos, rotation);
	}
	else if (seaCreatureNum == 4)
	{
		return new Squid(xPos, yPos, rotation);
	}
	else if (seaCreatureNum == 5)
	{
		return new Serpent(xPos, yPos, rotation);
	}
	else if (seaCreatureNum == 6)
	{
		Turtle* myTurtle = new Turtle(xPos ,yPos,rotation);
		Helm* helm = new Helm(0, 10, 32, TextureManager::getManager()->helm,myTurtle);
		myTurtle->getHelms()->push_back(helm);
		return myTurtle;
	}
}