public static void endTurn()
	{
		game.totalTurns++;
		if(isTwoPlayers)
		{
			swap();
		}
		else
		{
			game.myTurn = true;
			readyToSwap = false;
			int[] bombPoint = BattleShipAI.takeShot(game.mySea.getObfuscatedSea());
			Ship shipSunk = game.mySea.bombTile(bombPoint[0], bombPoint[1]);
			
			int bombedTile = game.mySea.sea[bombPoint[0]][bombPoint[1]];
			if(bombedTile == Sea.HIT)
			{
				BattleShipAI.hit(bombPoint[0], bombPoint[1]);
			}
			else if(bombedTile == Sea.MISS)
			{
				BattleShipAI.miss(bombPoint[0], bombPoint[1]);
			}
			
			if(game.mySea.shipDestroyed(shipSunk) && !shipSunk.equals(Ship.placeholderShip))	//if it sunk a ship
				BattleShipAI.sunkShip(shipSunk);
		}
	}